home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 13.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 54 68 75 20 4a | 61 6e 20 32 32 20 31 34 |on Thu J|an 22 14|
|00000040| 3a 34 36 3a 30 37 20 31 | 39 39 38 0a 3b 3b 3b 20 |:46:07 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 78 65 | 6d 61 63 73 2d 32 30 2e |emacs/xe|macs-20.|
|00000090| 33 2f 6c 69 73 70 2f 6d | 6f 64 65 73 2f 61 62 62 |3/lisp/m|odes/abb|
|000000a0| 72 65 76 2e 65 6c 0a 3b | 3b 3b 20 65 6d 61 63 73 |rev.el.;|;; emacs|
|000000b0| 20 76 65 72 73 69 6f 6e | 20 32 30 2e 33 20 22 56 | version| 20.3 "V|
|000000c0| 61 74 69 63 61 6e 20 43 | 69 74 79 22 20 58 45 6d |atican C|ity" XEm|
|000000d0| 61 63 73 20 20 4c 75 63 | 69 64 2e 0a 3b 3b 3b 20 |acs Luc|id..;;; |
|000000e0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000f0| 20 32 2e 32 35 20 58 45 | 6d 61 63 73 3b 20 32 32 | 2.25 XE|macs; 22|
|00000100| 2d 4d 61 72 2d 39 36 2e | 0a 3b 3b 3b 20 6f 70 74 |-Mar-96.|.;;; opt|
|00000110| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|00000120| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|00000130| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|00000140| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000150| 6e 20 45 6d 61 63 73 20 | 31 39 2e 0a 0a 28 69 66 |n Emacs |19...(if|
|00000160| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000170| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000180| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000190| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|000001a0| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|000001b0| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|000001c0| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|000001d0| 69 6f 6e 20 22 32 30 22 | 29 29 29 0a 20 20 20 20 |ion "20"|))). |
|000001e0| 28 65 72 72 6f 72 20 22 | 60 61 62 62 72 65 76 2e |(error "|`abbrev.|
|000001f0| 65 6c 27 20 77 61 73 20 | 63 6f 6d 70 69 6c 65 64 |el' was |compiled|
|00000200| 20 66 6f 72 20 45 6d 61 | 63 73 20 32 30 22 29 29 | for Ema|cs 20"))|
|00000210| 0a 0a 28 6f 72 20 28 62 | 6f 75 6e 64 70 20 27 63 |..(or (b|oundp 'c|
|00000220| 75 72 72 65 6e 74 2d 6c | 6f 61 64 2d 6c 69 73 74 |urrent-l|oad-list|
|00000230| 29 20 28 73 65 74 71 20 | 63 75 72 72 65 6e 74 2d |) (setq |current-|
|00000240| 6c 6f 61 64 2d 6c 69 73 | 74 20 6e 69 6c 29 29 0a |load-lis|t nil)).|
|00000250| 0a 0a 28 63 75 73 74 6f | 6d 2d 64 65 63 6c 61 72 |..(custo|m-declar|
|00000260| 65 2d 76 61 72 69 61 62 | 6c 65 20 27 6f 6e 6c 79 |e-variab|le 'only|
|00000270| 2d 67 6c 6f 62 61 6c 2d | 61 62 62 72 65 76 73 20 |-global-|abbrevs |
|00000280| 27 6e 69 6c 20 22 2a 4e | 6f 6e 2d 6e 69 6c 20 6d |'nil "*N|on-nil m|
|00000290| 65 61 6e 73 20 75 73 65 | 72 20 70 6c 61 6e 73 20 |eans use|r plans |
|000002a0| 74 6f 20 75 73 65 20 67 | 6c 6f 62 61 6c 20 61 62 |to use g|lobal ab|
|000002b0| 62 72 65 76 73 20 6f 6e | 6c 79 2e 5c 6e 4d 61 6b |brevs on|ly.\nMak|
|000002c0| 65 73 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |es the c|ommands |
|000002d0| 74 6f 20 64 65 66 69 6e | 65 20 6d 6f 64 65 2d 73 |to defin|e mode-s|
|000002e0| 70 65 63 69 66 69 63 20 | 61 62 62 72 65 76 73 20 |pecific |abbrevs |
|000002f0| 64 65 66 69 6e 65 20 67 | 6c 6f 62 61 6c 20 6f 6e |define g|lobal on|
|00000300| 65 73 20 69 6e 73 74 65 | 61 64 2e 22 20 3a 74 79 |es inste|ad." :ty|
|00000310| 70 65 20 27 62 6f 6f 6c | 65 61 6e 20 3a 67 72 6f |pe 'bool|ean :gro|
|00000320| 75 70 20 27 61 62 62 72 | 65 76 29 0a 23 40 34 39 |up 'abbr|ev).#@49|
|00000330| 20 4c 69 73 74 20 6f 66 | 20 73 79 6d 62 6f 6c 73 | List of| symbols|
|00000340| 20 77 68 6f 73 65 20 76 | 61 6c 75 65 73 20 61 72 | whose v|alues ar|
|00000350| 65 20 61 62 62 72 65 76 | 20 74 61 62 6c 65 73 2e |e abbrev| tables.|
|00000360| 1f 0a 28 64 65 66 76 61 | 72 20 61 62 62 72 65 76 |..(defva|r abbrev|
|00000370| 2d 74 61 62 6c 65 2d 6e | 61 6d 65 2d 6c 69 73 74 |-table-n|ame-list|
|00000380| 20 6e 69 6c 20 28 23 24 | 20 2e 20 38 31 37 29 29 | nil (#$| . 817))|
|00000390| 0a 23 40 31 31 37 20 53 | 65 74 20 6e 6f 6e 2d 6e |.#@117 S|et non-n|
|000003a0| 69 6c 20 62 79 20 64 65 | 66 69 6e 69 6e 67 20 6f |il by de|fining o|
|000003b0| 72 20 61 6c 74 65 72 69 | 6e 67 20 61 6e 79 20 77 |r alteri|ng any w|
|000003c0| 6f 72 64 20 61 62 62 72 | 65 76 73 2e 0a 54 68 69 |ord abbr|evs..Thi|
|000003d0| 73 20 63 61 75 73 65 73 | 20 60 73 61 76 65 2d 73 |s causes| `save-s|
|000003e0| 6f 6d 65 2d 62 75 66 66 | 65 72 73 27 20 74 6f 20 |ome-buff|ers' to |
|000003f0| 6f 66 66 65 72 20 74 6f | 20 73 61 76 65 20 74 68 |offer to| save th|
|00000400| 65 20 61 62 62 72 65 76 | 73 2e 1f 0a 28 64 65 66 |e abbrev|s...(def|
|00000410| 76 61 72 20 61 62 62 72 | 65 76 73 2d 63 68 61 6e |var abbr|evs-chan|
|00000420| 67 65 64 20 6e 69 6c 20 | 28 23 24 20 2e 20 39 31 |ged nil |(#$ . 91|
|00000430| 39 29 29 0a 23 40 34 32 | 20 43 72 65 61 74 65 20 |9)).#@42| Create |
|00000440| 61 20 6e 65 77 2c 20 65 | 6d 70 74 79 20 61 62 62 |a new, e|mpty abb|
|00000450| 72 65 76 20 74 61 62 6c | 65 20 6f 62 6a 65 63 74 |rev tabl|e object|
|00000460| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6d 61 |...(defa|lias 'ma|
|00000470| 6b 65 2d 61 62 62 72 65 | 76 2d 74 61 62 6c 65 20 |ke-abbre|v-table |
|00000480| 23 5b 6e 69 6c 20 22 c0 | c1 c2 5c 22 87 22 20 5b |#[nil ".|..\"." [|
|00000490| 6d 61 6b 65 2d 76 65 63 | 74 6f 72 20 35 39 20 30 |make-vec|tor 59 0|
|000004a0| 5d 20 33 20 28 23 24 20 | 2e 20 31 30 38 31 29 5d |] 3 (#$ |. 1081)]|
|000004b0| 29 0a 23 40 36 33 20 55 | 6e 64 65 66 69 6e 65 20 |).#@63 U|ndefine |
|000004c0| 61 6c 6c 20 61 62 62 72 | 65 76 73 20 69 6e 20 61 |all abbr|evs in a|
|000004d0| 62 62 72 65 76 20 74 61 | 62 6c 65 20 54 41 42 4c |bbrev ta|ble TABL|
|000004e0| 45 2c 20 6c 65 61 76 69 | 6e 67 20 69 74 20 65 6d |E, leavi|ng it em|
|000004f0| 70 74 79 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |pty...(d|efalias |
|00000500| 27 63 6c 65 61 72 2d 61 | 62 62 72 65 76 2d 74 61 |'clear-a|bbrev-ta|
|00000510| 62 6c 65 20 23 5b 28 74 | 61 62 6c 65 29 20 22 c0 |ble #[(t|able) ".|
|00000520| 09 c2 5c 22 88 c3 14 c5 | 87 22 20 5b 66 69 6c 6c |..\"....|." [fill|
|00000530| 61 72 72 61 79 20 74 61 | 62 6c 65 20 30 20 74 20 |array ta|ble 0 t |
|00000540| 61 62 62 72 65 76 73 2d | 63 68 61 6e 67 65 64 20 |abbrevs-|changed |
|00000550| 6e 69 6c 5d 20 33 20 28 | 23 24 20 2e 20 31 32 30 |nil] 3 (|#$ . 120|
|00000560| 37 29 5d 29 0a 23 40 31 | 37 37 20 44 65 66 69 6e |7)]).#@1|77 Defin|
|00000570| 65 20 54 41 42 4e 41 4d | 45 20 28 61 20 73 79 6d |e TABNAM|E (a sym|
|00000580| 62 6f 6c 29 20 61 73 20 | 61 6e 20 61 62 62 72 65 |bol) as |an abbre|
|00000590| 76 20 74 61 62 6c 65 20 | 6e 61 6d 65 2e 0a 44 65 |v table |name..De|
|000005a0| 66 69 6e 65 20 61 62 62 | 72 65 76 73 20 69 6e 20 |fine abb|revs in |
|000005b0| 69 74 20 61 63 63 6f 72 | 64 69 6e 67 20 74 6f 20 |it accor|ding to |
|000005c0| 44 45 46 49 4e 49 54 49 | 4f 4e 53 2c 20 77 68 69 |DEFINITI|ONS, whi|
|000005d0| 63 68 20 69 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |ch is a |list of |
|000005e0| 65 6c 65 6d 65 6e 74 73 | 0a 6f 66 20 74 68 65 20 |elements|.of the |
|000005f0| 66 6f 72 6d 20 28 41 42 | 42 52 45 56 4e 41 4d 45 |form (AB|BREVNAME|
|00000600| 20 45 58 50 41 4e 53 49 | 4f 4e 20 48 4f 4f 4b 20 | EXPANSI|ON HOOK |
|00000610| 55 53 45 43 4f 55 4e 54 | 29 2e 1f 0a 28 64 65 66 |USECOUNT|)...(def|
|00000620| 61 6c 69 61 73 20 27 64 | 65 66 69 6e 65 2d 61 62 |alias 'd|efine-ab|
|00000630| 62 72 65 76 2d 74 61 62 | 6c 65 20 23 5b 28 6e 61 |brev-tab|le #[(na|
|00000640| 6d 65 20 64 65 66 73 29 | 20 22 c0 09 21 ad 82 09 |me defs)| "..!...|
|00000650| 4a 1a c3 5c 6e 21 ac 9b | 5c 6e ac 8d c4 20 12 09 |J..\n!..|\n... ..|
|00000660| 5c 6e 4c 88 09 0d 42 15 | aa 8b c6 c7 c3 5c 6e 44 |\nL...B.|.....\nD|
|00000670| 5c 22 12 09 5c 6e 4c 88 | 0e 08 ad 91 c9 ca 5c 6e |\"..\nL.|......\n|
|00000680| 0e 08 40 23 88 0e 08 41 | 89 16 08 ac 70 cb 29 87 |..@#...A|....p.).|
|00000690| 22 20 5b 62 6f 75 6e 64 | 70 20 6e 61 6d 65 20 74 |" [bound|p name t|
|000006a0| 61 62 6c 65 20 76 65 63 | 74 6f 72 70 20 6d 61 6b |able vec|torp mak|
|000006b0| 65 2d 61 62 62 72 65 76 | 2d 74 61 62 6c 65 20 61 |e-abbrev|-table a|
|000006c0| 62 62 72 65 76 2d 74 61 | 62 6c 65 2d 6e 61 6d 65 |bbrev-ta|ble-name|
|000006d0| 2d 6c 69 73 74 20 73 69 | 67 6e 61 6c 20 77 72 6f |-list si|gnal wro|
|000006e0| 6e 67 2d 74 79 70 65 2d | 61 72 67 75 6d 65 6e 74 |ng-type-|argument|
|000006f0| 20 64 65 66 73 20 61 70 | 70 6c 79 20 64 65 66 69 | defs ap|ply defi|
|00000700| 6e 65 2d 61 62 62 72 65 | 76 20 6e 69 6c 5d 20 35 |ne-abbre|v nil] 5|
|00000710| 20 28 23 24 20 2e 20 31 | 33 38 37 29 5d 29 0a 23 | (#$ . 1|387)]).#|
|00000720| 40 31 39 39 20 44 65 66 | 69 6e 65 20 61 6e 20 61 |@199 Def|ine an a|
|00000730| 62 62 72 65 76 20 69 6e | 20 54 41 42 4c 45 20 6e |bbrev in| TABLE n|
|00000740| 61 6d 65 64 20 4e 41 4d | 45 2c 20 74 6f 20 65 78 |amed NAM|E, to ex|
|00000750| 70 61 6e 64 20 74 6f 20 | 45 58 50 41 4e 53 49 4f |pand to |EXPANSIO|
|00000760| 4e 20 6f 72 20 63 61 6c | 6c 20 48 4f 4f 4b 2e 0a |N or cal|l HOOK..|
|00000770| 4e 41 4d 45 20 61 6e 64 | 20 45 58 50 41 4e 53 49 |NAME and| EXPANSI|
|00000780| 4f 4e 20 61 72 65 20 73 | 74 72 69 6e 67 73 2e 20 |ON are s|trings. |
|00000790| 20 48 6f 6f 6b 20 69 73 | 20 61 20 66 75 6e 63 74 | Hook is| a funct|
|000007a0| 69 6f 6e 20 6f 72 20 60 | 6e 69 6c 27 2e 0a 54 6f |ion or `|nil'..To|
|000007b0| 20 75 6e 64 65 66 69 6e | 65 20 61 6e 20 61 62 62 | undefin|e an abb|
|000007c0| 72 65 76 2c 20 64 65 66 | 69 6e 65 20 69 74 20 77 |rev, def|ine it w|
|000007d0| 69 74 68 20 61 6e 20 65 | 78 70 61 6e 73 69 6f 6e |ith an e|xpansion|
|000007e0| 20 6f 66 20 60 6e 69 6c | 27 2e 1f 0a 28 64 65 66 | of `nil|'...(def|
|000007f0| 61 6c 69 61 73 20 27 64 | 65 66 69 6e 65 2d 61 62 |alias 'd|efine-ab|
|00000800| 62 72 65 76 20 23 5b 28 | 74 61 62 6c 65 20 6e 61 |brev #[(|table na|
|00000810| 6d 65 20 26 6f 70 74 69 | 6f 6e 61 6c 20 65 78 70 |me &opti|onal exp|
|00000820| 61 6e 73 69 6f 6e 20 68 | 6f 6f 6b 20 63 6f 75 6e |ansion h|ook coun|
|00000830| 74 29 20 22 08 ab 8b 08 | 3b ac 87 c1 c2 c3 08 44 |t) "....|;......D|
|00000840| 5c 22 10 0c ab 8b 0c a8 | ac 87 c1 c2 c5 0c 44 5c |\"......|......D\|
|00000850| 22 14 c6 0e 07 21 ac 89 | c1 c2 c6 0e 07 44 5c 22 |"....!..|.....D\"|
|00000860| 16 07 c8 0e 09 0e 07 5c | 22 1e 5c 6e cb 0e 5c 6e |.......\|".\n..\n|
|00000870| 21 ad 83 0e 5c 6e 4a 1e | 0c cd 0e 5c 6e 21 ad 83 |!...\nJ.|...\n!..|
|00000880| 0e 5c 6e 4b 89 1e 0e 0e | 0f 6b ab 8f 0e 0c 3b ab |.\nK....|.k....;.|
|00000890| 8a 08 3b ab 86 0e 0c 08 | 98 ac 92 d0 16 11 d2 d3 |..;.....|........|
|000008a0| 0e 09 5c 22 ab 88 c8 d4 | 0e 07 5c 22 d5 4c 88 0e |..\"....|..\".L..|
|000008b0| 5c 6e 08 4c 88 0e 5c 6e | 0e 0f 4d 88 d6 0e 5c 6e |\n.L..\n|..M...\n|
|000008c0| 0c ae 81 d7 5c 22 88 0e | 09 2b 87 22 20 5b 65 78 |....\"..|.+." [ex|
|000008d0| 70 61 6e 73 69 6f 6e 20 | 73 69 67 6e 61 6c 20 77 |pansion |signal w|
|000008e0| 72 6f 6e 67 2d 74 79 70 | 65 2d 61 72 67 75 6d 65 |rong-typ|e-argume|
|000008f0| 6e 74 20 73 74 72 69 6e | 67 70 20 63 6f 75 6e 74 |nt strin|gp count|
|00000900| 20 66 69 78 6e 75 6d 70 | 20 76 65 63 74 6f 72 70 | fixnump| vectorp|
|00000910| 20 74 61 62 6c 65 20 69 | 6e 74 65 72 6e 20 6e 61 | table i|ntern na|
|00000920| 6d 65 20 73 79 6d 20 62 | 6f 75 6e 64 70 20 6f 65 |me sym b|oundp oe|
|00000930| 78 70 20 66 62 6f 75 6e | 64 70 20 6f 68 6f 6f 6b |xp fboun|dp ohook|
|00000940| 20 68 6f 6f 6b 20 74 20 | 61 62 62 72 65 76 73 2d | hook t |abbrevs-|
|00000950| 63 68 61 6e 67 65 64 20 | 73 74 72 69 6e 67 2d 6d |changed |string-m|
|00000960| 61 74 63 68 20 22 5c 5c | 57 22 20 22 20 22 20 6e |atch "\\|W" " " n|
|00000970| 69 6c 20 73 65 74 70 6c | 69 73 74 20 30 5d 20 35 |il setpl|ist 0] 5|
|00000980| 20 28 23 24 20 2e 20 31 | 38 32 39 29 5d 29 0a 28 | (#$ . 1|829)]).(|
|00000990| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 19 09 ab 99 |byte-cod|e ".....|
|000009a0| 09 40 89 1a 3a ab 8c c3 | 5c 6e 08 5c 22 10 c4 5c |.@..:...|\n.\"..\|
|000009b0| 6e 40 5c 6e 41 5c 22 88 | 09 41 11 29 aa 64 0d ac |n@\nA\".|.A.).d..|
|000009c0| 87 c6 20 15 c5 08 42 10 | 0e 07 ac 88 c6 20 16 07 |.. ...B.|..... ..|
|000009d0| c7 08 42 10 0e 08 c9 61 | ab 88 0e 5c 6e ac 84 0e |..B....a|...\n...|
|000009e0| 07 16 5c 6e 29 c3 87 22 | 20 5b 61 62 62 72 65 76 |..\n).."| [abbrev|
|000009f0| 2d 74 61 62 6c 65 2d 6e | 61 6d 65 2d 6c 69 73 74 |-table-n|ame-list|
|00000a00| 20 6c 20 66 69 78 75 70 | 20 64 65 6c 71 20 64 65 | l fixup| delq de|
|00000a10| 66 69 6e 65 2d 61 62 62 | 72 65 76 2d 74 61 62 6c |fine-abb|rev-tabl|
|00000a20| 65 20 67 6c 6f 62 61 6c | 2d 61 62 62 72 65 76 2d |e global|-abbrev-|
|00000a30| 74 61 62 6c 65 20 6d 61 | 6b 65 2d 61 62 62 72 65 |table ma|ke-abbre|
|00000a40| 76 2d 74 61 62 6c 65 20 | 66 75 6e 64 61 6d 65 6e |v-table |fundamen|
|00000a50| 74 61 6c 2d 6d 6f 64 65 | 2d 61 62 62 72 65 76 2d |tal-mode|-abbrev-|
|00000a60| 74 61 62 6c 65 20 6d 61 | 6a 6f 72 2d 6d 6f 64 65 |table ma|jor-mode|
|00000a70| 20 66 75 6e 64 61 6d 65 | 6e 74 61 6c 2d 6d 6f 64 | fundame|ntal-mod|
|00000a80| 65 20 6c 6f 63 61 6c 2d | 61 62 62 72 65 76 2d 74 |e local-|abbrev-t|
|00000a90| 61 62 6c 65 5d 20 34 29 | 0a 23 40 35 35 20 44 65 |able] 4)|.#@55 De|
|00000aa0| 66 69 6e 65 20 41 42 42 | 52 45 56 20 61 73 20 61 |fine ABB|REV as a|
|00000ab0| 20 67 6c 6f 62 61 6c 20 | 61 62 62 72 65 76 69 61 | global |abbrevia|
|00000ac0| 74 69 6f 6e 20 66 6f 72 | 20 45 58 50 41 4e 53 49 |tion for| EXPANSI|
|00000ad0| 4f 4e 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ON...(de|falias '|
|00000ae0| 64 65 66 69 6e 65 2d 67 | 6c 6f 62 61 6c 2d 61 62 |define-g|lobal-ab|
|00000af0| 62 72 65 76 20 23 5b 28 | 6e 61 6d 65 20 65 78 70 |brev #[(|name exp|
|00000b00| 61 6e 73 69 6f 6e 29 20 | 22 c0 09 5c 6e 97 0b c4 |ansion) |"..\n...|
|00000b10| c5 25 87 22 20 5b 64 65 | 66 69 6e 65 2d 61 62 62 |.%." [de|fine-abb|
|00000b20| 72 65 76 20 67 6c 6f 62 | 61 6c 2d 61 62 62 72 65 |rev glob|al-abbre|
|00000b30| 76 2d 74 61 62 6c 65 20 | 6e 61 6d 65 20 65 78 70 |v-table |name exp|
|00000b40| 61 6e 73 69 6f 6e 20 6e | 69 6c 20 30 5d 20 36 20 |ansion n|il 0] 6 |
|00000b50| 28 23 24 20 2e 20 32 37 | 31 38 29 20 22 73 44 65 |(#$ . 27|18) "sDe|
|00000b60| 66 69 6e 65 20 67 6c 6f | 62 61 6c 20 61 62 62 72 |fine glo|bal abbr|
|00000b70| 65 76 3a 20 5c 6e 73 45 | 78 70 61 6e 73 69 6f 6e |ev: \nsE|xpansion|
|00000b80| 20 66 6f 72 20 25 73 3a | 20 22 5d 29 0a 23 40 36 | for %s:| "]).#@6|
|00000b90| 32 20 44 65 66 69 6e 65 | 20 41 42 42 52 45 56 20 |2 Define| ABBREV |
|00000ba0| 61 73 20 61 20 6d 6f 64 | 65 2d 73 70 65 63 69 66 |as a mod|e-specif|
|00000bb0| 69 63 20 61 62 62 72 65 | 76 69 61 74 69 6f 6e 20 |ic abbre|viation |
|00000bc0| 66 6f 72 20 45 58 50 41 | 4e 53 49 4f 4e 2e 1f 0a |for EXPA|NSION...|
|00000bd0| 28 64 65 66 61 6c 69 61 | 73 20 27 64 65 66 69 6e |(defalia|s 'defin|
|00000be0| 65 2d 6d 6f 64 65 2d 61 | 62 62 72 65 76 20 23 5b |e-mode-a|bbrev #[|
|00000bf0| 28 6e 61 6d 65 20 65 78 | 70 61 6e 73 69 6f 6e 29 |(name ex|pansion)|
|00000c00| 20 22 c0 09 ae 83 c2 c3 | 21 0c 97 0d c6 c7 25 87 | "......|!.....%.|
|00000c10| 22 20 5b 64 65 66 69 6e | 65 2d 61 62 62 72 65 76 |" [defin|e-abbrev|
|00000c20| 20 6c 6f 63 61 6c 2d 61 | 62 62 72 65 76 2d 74 61 | local-a|bbrev-ta|
|00000c30| 62 6c 65 20 65 72 72 6f | 72 20 22 4d 61 6a 6f 72 |ble erro|r "Major|
|00000c40| 20 6d 6f 64 65 20 68 61 | 73 20 6e 6f 20 61 62 62 | mode ha|s no abb|
|00000c50| 72 65 76 20 74 61 62 6c | 65 22 20 6e 61 6d 65 20 |rev tabl|e" name |
|00000c60| 65 78 70 61 6e 73 69 6f | 6e 20 6e 69 6c 20 30 5d |expansio|n nil 0]|
|00000c70| 20 36 20 28 23 24 20 2e | 20 32 39 36 32 29 20 22 | 6 (#$ .| 2962) "|
|00000c80| 73 44 65 66 69 6e 65 20 | 6d 6f 64 65 20 61 62 62 |sDefine |mode abb|
|00000c90| 72 65 76 3a 20 5c 6e 73 | 45 78 70 61 6e 73 69 6f |rev: \ns|Expansio|
|00000ca0| 6e 20 66 6f 72 20 25 73 | 3a 20 22 5d 29 0a 23 40 |n for %s|: "]).#@|
|00000cb0| 33 38 34 20 52 65 74 75 | 72 6e 20 74 68 65 20 73 |384 Retu|rn the s|
|00000cc0| 79 6d 62 6f 6c 20 72 65 | 70 72 65 73 65 6e 74 69 |ymbol re|presenti|
|00000cd0| 6e 67 20 61 62 62 72 65 | 76 20 6e 61 6d 65 64 20 |ng abbre|v named |
|00000ce0| 41 42 42 52 45 56 2e 0a | 54 68 69 73 20 73 79 6d |ABBREV..|This sym|
|00000cf0| 62 6f 6c 27 73 20 6e 61 | 6d 65 20 69 73 20 41 42 |bol's na|me is AB|
|00000d00| 42 52 45 56 2c 20 62 75 | 74 20 69 74 20 69 73 20 |BREV, bu|t it is |
|00000d10| 6e 6f 74 20 74 68 65 20 | 63 61 6e 6f 6e 69 63 61 |not the |canonica|
|00000d20| 6c 20 73 79 6d 62 6f 6c | 20 6f 66 20 74 68 61 74 |l symbol| of that|
|00000d30| 20 6e 61 6d 65 3b 0a 69 | 74 20 69 73 20 69 6e 74 | name;.i|t is int|
|00000d40| 65 72 6e 65 64 20 69 6e | 20 61 6e 20 61 62 62 72 |erned in| an abbr|
|00000d50| 65 76 2d 74 61 62 6c 65 | 20 72 61 74 68 65 72 20 |ev-table| rather |
|00000d60| 74 68 61 6e 20 74 68 65 | 20 6e 6f 72 6d 61 6c 20 |than the| normal |
|00000d70| 6f 62 61 72 72 61 79 2e | 0a 54 68 65 20 76 61 6c |obarray.|.The val|
|00000d80| 75 65 20 69 73 20 6e 69 | 6c 20 69 66 20 74 68 61 |ue is ni|l if tha|
|00000d90| 74 20 61 62 62 72 65 76 | 20 69 73 20 6e 6f 74 20 |t abbrev| is not |
|00000da0| 64 65 66 69 6e 65 64 2e | 0a 4f 70 74 69 6f 6e 61 |defined.|.Optiona|
|00000db0| 6c 20 73 65 63 6f 6e 64 | 20 61 72 67 20 54 41 42 |l second| arg TAB|
|00000dc0| 4c 45 20 69 73 20 61 62 | 62 72 65 76 20 74 61 62 |LE is ab|brev tab|
|00000dd0| 6c 65 20 74 6f 20 6c 6f | 6f 6b 20 69 74 20 75 70 |le to lo|ok it up|
|00000de0| 20 69 6e 2e 0a 54 68 65 | 20 64 65 66 61 75 6c 74 | in..The| default|
|00000df0| 20 69 73 20 74 6f 20 74 | 72 79 20 62 75 66 66 65 | is to t|ry buffe|
|00000e00| 72 27 73 20 6d 6f 64 65 | 2d 73 70 65 63 69 66 69 |r's mode|-specifi|
|00000e10| 63 20 61 62 62 72 65 76 | 20 74 61 62 6c 65 2c 20 |c abbrev| table, |
|00000e20| 74 68 65 6e 20 67 6c 6f | 62 61 6c 20 74 61 62 6c |then glo|bal tabl|
|00000e30| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 61 |e...(def|alias 'a|
|00000e40| 62 62 72 65 76 2d 73 79 | 6d 62 6f 6c 20 23 5b 28 |bbrev-sy|mbol #[(|
|00000e50| 61 62 62 72 65 76 20 26 | 6f 70 74 69 6f 6e 61 6c |abbrev &|optional|
|00000e60| 20 74 61 62 6c 65 29 20 | 22 c0 19 5c 6e ab 85 09 | table) |"..\n...|
|00000e70| 5c 6e 21 aa 8b 0b ab 85 | 09 0b 21 ae 83 09 0c 21 |\n!.....|..!....!|
|00000e80| 29 87 22 20 5b 23 5b 28 | 74 61 62 6c 65 29 20 22 |)." [#[(|table) "|
|00000e90| c0 09 5c 6e 5c 22 1b c4 | 0b 21 ad 86 0b 4a 3b ad |..\n\"..|.!...J;.|
|00000ea0| 81 0b 29 87 22 20 5b 69 | 6e 74 65 72 6e 2d 73 6f |..)." [i|ntern-so|
|00000eb0| 66 74 20 61 62 62 72 65 | 76 20 74 61 62 6c 65 20 |ft abbre|v table |
|00000ec0| 73 79 6d 20 62 6f 75 6e | 64 70 5d 20 33 5d 20 66 |sym boun|dp] 3] f|
|00000ed0| 72 6f 62 20 74 61 62 6c | 65 20 6c 6f 63 61 6c 2d |rob tabl|e local-|
|00000ee0| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 20 67 6c 6f |abbrev-t|able glo|
|00000ef0| 62 61 6c 2d 61 62 62 72 | 65 76 2d 74 61 62 6c 65 |bal-abbr|ev-table|
|00000f00| 5d 20 32 20 28 23 24 20 | 2e 20 33 32 35 32 29 5d |] 2 (#$ |. 3252)]|
|00000f10| 29 0a 23 40 31 36 32 20 | 52 65 74 75 72 6e 20 74 |).#@162 |Return t|
|00000f20| 68 65 20 73 74 72 69 6e | 67 20 74 68 61 74 20 41 |he strin|g that A|
|00000f30| 42 42 52 45 56 20 65 78 | 70 61 6e 64 73 20 69 6e |BBREV ex|pands in|
|00000f40| 74 6f 20 69 6e 20 74 68 | 65 20 63 75 72 72 65 6e |to in th|e curren|
|00000f50| 74 20 62 75 66 66 65 72 | 2e 0a 4f 70 74 69 6f 6e |t buffer|..Option|
|00000f60| 61 6c 6c 79 20 73 70 65 | 63 69 66 79 20 61 6e 20 |ally spe|cify an |
|00000f70| 61 62 62 72 65 76 20 74 | 61 62 6c 65 20 61 73 20 |abbrev t|able as |
|00000f80| 73 65 63 6f 6e 64 20 61 | 72 67 3b 0a 74 68 65 6e |second a|rg;.then|
|00000f90| 20 41 42 42 52 45 56 20 | 69 73 20 6c 6f 6f 6b 65 | ABBREV |is looke|
|00000fa0| 64 20 75 70 20 69 6e 20 | 74 68 61 74 20 74 61 62 |d up in |that tab|
|00000fb0| 6c 65 20 6f 6e 6c 79 2e | 1f 0a 28 64 65 66 61 6c |le only.|..(defal|
|00000fc0| 69 61 73 20 27 61 62 62 | 72 65 76 2d 65 78 70 61 |ias 'abb|rev-expa|
|00000fd0| 6e 73 69 6f 6e 20 23 5b | 28 61 62 62 72 65 76 20 |nsion #[|(abbrev |
|00000fe0| 26 6f 70 74 69 6f 6e 61 | 6c 20 74 61 62 6c 65 29 |&optiona|l table)|
|00000ff0| 20 22 c0 09 5c 6e 5c 22 | 89 1b ad 82 0b 4a 29 87 | "..\n\"|.....J).|
|00001000| 22 20 5b 61 62 62 72 65 | 76 2d 73 79 6d 62 6f 6c |" [abbre|v-symbol|
|00001010| 20 61 62 62 72 65 76 20 | 74 61 62 6c 65 20 73 79 | abbrev |table sy|
|00001020| 6d 5d 20 34 20 28 23 24 | 20 2e 20 33 38 36 34 29 |m] 4 (#$| . 3864)|
|00001030| 5d 29 0a 23 40 31 33 39 | 20 55 6e 64 6f 20 74 68 |]).#@139| Undo th|
|00001040| 65 20 65 78 70 61 6e 73 | 69 6f 6e 20 6f 66 20 74 |e expans|ion of t|
|00001050| 68 65 20 6c 61 73 74 20 | 61 62 62 72 65 76 20 74 |he last |abbrev t|
|00001060| 68 61 74 20 65 78 70 61 | 6e 64 65 64 2e 0a 54 68 |hat expa|nded..Th|
|00001070| 69 73 20 64 69 66 66 65 | 72 73 20 66 72 6f 6d 20 |is diffe|rs from |
|00001080| 6f 72 64 69 6e 61 72 79 | 20 75 6e 64 6f 20 69 6e |ordinary| undo in|
|00001090| 20 74 68 61 74 20 6f 74 | 68 65 72 20 65 64 69 74 | that ot|her edit|
|000010a0| 69 6e 67 20 64 6f 6e 65 | 20 73 69 6e 63 65 20 74 |ing done| since t|
|000010b0| 68 65 6e 0a 69 73 20 6e | 6f 74 20 75 6e 64 6f 6e |hen.is n|ot undon|
|000010c0| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 75 |e...(def|alias 'u|
|000010d0| 6e 65 78 70 61 6e 64 2d | 61 62 62 72 65 76 20 23 |nexpand-|abbrev #|
|000010e0| 5b 6e 69 6c 20 22 08 65 | 57 ae 88 08 64 56 ae 83 |[nil ".e|W...dV..|
|000010f0| 09 3b 3f 3f ad a9 60 1a | 0b 4a 89 1c 47 1d 08 62 |.;??..`.|.J..G..b|
|00001100| 88 08 89 0d 5c 5c 7c 88 | 09 63 88 0d 09 47 5a 15 |....\\|.|.c...GZ.|
|00001110| c6 11 08 5c 6e 57 ab 86 | 5c 6e 0d 5a 62 aa 82 5c |...\nW..|\n.Zb..\|
|00001120| 6e 62 2b 87 22 20 5b 6c | 61 73 74 2d 61 62 62 72 |nb+." [l|ast-abbr|
|00001130| 65 76 2d 6c 6f 63 61 74 | 69 6f 6e 20 6c 61 73 74 |ev-locat|ion last|
|00001140| 2d 61 62 62 72 65 76 2d | 74 65 78 74 20 6f 70 6f |-abbrev-|text opo|
|00001150| 69 6e 74 20 6c 61 73 74 | 2d 61 62 62 72 65 76 20 |int last|-abbrev |
|00001160| 76 61 6c 20 61 64 6a 75 | 73 74 20 6e 69 6c 5d 20 |val adju|st nil] |
|00001170| 34 20 28 23 24 20 2e 20 | 34 31 35 33 29 20 6e 69 |4 (#$ . |4153) ni|
|00001180| 6c 5d 29 0a 23 40 33 34 | 36 20 49 6e 73 65 72 74 |l]).#@34|6 Insert|
|00001190| 20 62 65 66 6f 72 65 20 | 70 6f 69 6e 74 20 61 20 | before |point a |
|000011a0| 66 75 6c 6c 20 64 65 73 | 63 72 69 70 74 69 6f 6e |full des|cription|
|000011b0| 20 6f 66 20 61 62 62 72 | 65 76 20 74 61 62 6c 65 | of abbr|ev table|
|000011c0| 20 6e 61 6d 65 64 20 4e | 41 4d 45 2e 0a 4e 41 4d | named N|AME..NAM|
|000011d0| 45 20 69 73 20 61 20 73 | 79 6d 62 6f 6c 20 77 68 |E is a s|ymbol wh|
|000011e0| 6f 73 65 20 76 61 6c 75 | 65 20 69 73 20 61 6e 20 |ose valu|e is an |
|000011f0| 61 62 62 72 65 76 20 74 | 61 62 6c 65 2e 0a 49 66 |abbrev t|able..If|
|00001200| 20 6f 70 74 69 6f 6e 61 | 6c 20 32 6e 64 20 61 72 | optiona|l 2nd ar|
|00001210| 67 20 48 55 4d 41 4e 20 | 69 73 20 6e 6f 6e 2d 6e |g HUMAN |is non-n|
|00001220| 69 6c 2c 20 69 6e 73 65 | 72 74 20 61 20 68 75 6d |il, inse|rt a hum|
|00001230| 61 6e 2d 72 65 61 64 61 | 62 6c 65 20 64 65 73 63 |an-reada|ble desc|
|00001240| 72 69 70 74 69 6f 6e 2e | 0a 4f 74 68 65 72 77 69 |ription.|.Otherwi|
|00001250| 73 65 20 74 68 65 20 64 | 65 73 63 72 69 70 74 69 |se the d|escripti|
|00001260| 6f 6e 20 69 73 20 61 6e | 20 65 78 70 72 65 73 73 |on is an| express|
|00001270| 69 6f 6e 2c 0a 61 20 63 | 61 6c 6c 20 74 6f 20 60 |ion,.a c|all to `|
|00001280| 64 65 66 69 6e 65 2d 61 | 62 62 72 65 76 2d 74 61 |define-a|bbrev-ta|
|00001290| 62 6c 65 27 2c 20 77 68 | 69 63 68 20 77 6f 75 6c |ble', wh|ich woul|
|000012a0| 64 0a 64 65 66 69 6e 65 | 20 74 68 65 20 61 62 62 |d.define| the abb|
|000012b0| 72 65 76 20 74 61 62 6c | 65 20 4e 41 4d 45 20 65 |rev tabl|e NAME e|
|000012c0| 78 61 63 74 6c 79 20 61 | 73 20 69 74 20 69 73 20 |xactly a|s it is |
|000012d0| 63 75 72 72 65 6e 74 6c | 79 20 64 65 66 69 6e 65 |currentl|y define|
|000012e0| 64 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 69 |d...(def|alias 'i|
|000012f0| 6e 73 65 72 74 2d 61 62 | 62 72 65 76 2d 74 61 62 |nsert-ab|brev-tab|
|00001300| 6c 65 2d 64 65 73 63 72 | 69 70 74 69 6f 6e 20 23 |le-descr|iption #|
|00001310| 5b 28 6e 61 6d 65 20 68 | 75 6d 61 6e 2d 72 65 61 |[(name h|uman-rea|
|00001320| 64 61 62 6c 65 29 20 22 | 08 4a 70 19 1a c3 c4 08 |dable) "|.Jp.....|
|00001330| 5c 22 88 0d ab 99 c6 08 | 43 09 5c 22 88 c7 09 21 |\"......|C.\"...!|
|00001340| 88 c7 09 21 88 c8 c9 5c | 6e 5c 22 88 c7 09 21 88 |...!...\|n\"...!.|
|00001350| aa 99 ca cb 09 5c 22 88 | c6 08 09 5c 22 88 ca cc |.....\".|...\"...|
|00001360| 09 5c 22 88 c8 cd 5c 6e | 5c 22 88 ca ce 09 5c 22 |.\"...\n|\"....\"|
|00001370| 88 c7 09 21 88 2a c3 cf | 21 87 22 20 5b 6e 61 6d |...!.*..|!." [nam|
|00001380| 65 20 73 74 72 65 61 6d | 20 74 61 62 6c 65 20 6d |e stream| table m|
|00001390| 65 73 73 61 67 65 20 22 | 41 62 62 72 65 76 2d 74 |essage "|Abbrev-t|
|000013a0| 61 62 6c 65 20 25 73 2e | 2e 2e 22 20 68 75 6d 61 |able %s.|.." huma|
|000013b0| 6e 2d 72 65 61 64 61 62 | 6c 65 20 70 72 69 6e 31 |n-readab|le prin1|
|000013c0| 20 74 65 72 70 72 69 20 | 6d 61 70 61 74 6f 6d 73 | terpri |mapatoms|
|000013d0| 20 23 5b 28 73 79 6d 29 | 20 22 08 4a ad e7 c1 c2 | #[(sym)| ".J....|
|000013e0| 08 21 21 89 1b 47 1c c5 | 0b 0e 06 5c 22 88 0c c7 |.!!..G..|...\"...|
|000013f0| 57 ab 8c c8 c9 0e 06 5c | 22 88 0c 54 89 14 aa 70 |W......\|"..T...p|
|00001400| c5 ca cb cc 08 21 5c 22 | 0e 06 5c 22 88 08 4b ac |.....!\"|..\"..K.|
|00001410| 89 cd 08 4a 0e 06 5c 22 | 88 aa aa c1 08 4a 21 13 |...J..\"|.....J!.|
|00001420| 0c 0b 47 5c 5c ce 5c 5c | 14 c5 0b 0e 06 5c 22 88 |..G\\.\\|.....\".|
|00001430| 0c cf 57 ab 8c c8 c9 0e | 06 5c 22 88 0c 54 89 14 |..W.....|.\"..T..|
|00001440| aa 70 cd 08 4b 0e 06 5c | 22 88 d0 0e 06 21 2a 87 |.p..K..\|"....!*.|
|00001450| 22 20 5b 73 79 6d 20 70 | 72 69 6e 31 2d 74 6f 2d |" [sym p|rin1-to-|
|00001460| 73 74 72 69 6e 67 20 73 | 79 6d 62 6f 6c 2d 6e 61 |string s|ymbol-na|
|00001470| 6d 65 20 6e 20 70 6f 73 | 20 70 72 69 6e 63 20 73 |me n pos| princ s|
|00001480| 74 72 65 61 6d 20 31 34 | 20 77 72 69 74 65 2d 63 |tream 14| write-c|
|00001490| 68 61 72 20 3f 5c 20 20 | 66 6f 72 6d 61 74 20 22 |har ?\ |format "|
|000014a0| 20 25 2d 35 53 20 22 20 | 73 79 6d 62 6f 6c 2d 70 | %-5S " |symbol-p|
|000014b0| 6c 69 73 74 20 70 72 69 | 6e 31 20 36 20 34 35 20 |list pri|n1 6 45 |
|000014c0| 74 65 72 70 72 69 5d 20 | 36 5d 20 70 72 69 6e 63 |terpri] |6] princ|
|000014d0| 20 22 28 64 65 66 69 6e | 65 2d 61 62 62 72 65 76 | "(defin|e-abbrev|
|000014e0| 2d 74 61 62 6c 65 20 27 | 22 20 22 20 27 28 5c 6e |-table '|" " '(\n|
|000014f0| 22 20 23 5b 28 73 79 6d | 29 20 22 08 4a ad 97 c1 |" #[(sym|) ".J...|
|00001500| c2 0b 5c 22 88 c4 c5 08 | 21 08 4a 08 4b c6 08 21 |..\"....|!.J.K..!|
|00001510| 46 0b 5c 22 88 c7 0b 21 | 87 22 20 5b 73 79 6d 20 |F.\"...!|." [sym |
|00001520| 70 72 69 6e 63 20 22 20 | 20 20 20 22 20 73 74 72 |princ " | " str|
|00001530| 65 61 6d 20 70 72 69 6e | 31 20 73 79 6d 62 6f 6c |eam prin|1 symbol|
|00001540| 2d 6e 61 6d 65 20 73 79 | 6d 62 6f 6c 2d 70 6c 69 |-name sy|mbol-pli|
|00001550| 73 74 20 74 65 72 70 72 | 69 5d 20 36 5d 20 22 20 |st terpr|i] 6] " |
|00001560| 20 20 20 29 29 5c 6e 22 | 20 22 22 5d 20 33 20 28 | ))\n"| ""] 3 (|
|00001570| 23 24 20 2e 20 34 34 39 | 30 29 5d 29 0a 23 40 31 |#$ . 449|0)]).#@1|
|00001580| 37 37 20 54 6f 67 67 6c | 65 20 61 62 62 72 65 76 |77 Toggl|e abbrev|
|00001590| 20 6d 6f 64 65 2e 0a 57 | 69 74 68 20 61 72 67 75 | mode..W|ith argu|
|000015a0| 6d 65 6e 74 20 41 52 47 | 2c 20 74 75 72 6e 20 61 |ment ARG|, turn a|
|000015b0| 62 62 72 65 76 20 6d 6f | 64 65 20 6f 6e 20 69 66 |bbrev mo|de on if|
|000015c0| 66 20 41 52 47 20 69 73 | 20 70 6f 73 69 74 69 76 |f ARG is| positiv|
|000015d0| 65 2e 0a 49 6e 20 61 62 | 62 72 65 76 20 6d 6f 64 |e..In ab|brev mod|
|000015e0| 65 2c 20 69 6e 73 65 72 | 74 69 6e 67 20 61 6e 20 |e, inser|ting an |
|000015f0| 61 62 62 72 65 76 69 61 | 74 69 6f 6e 20 63 61 75 |abbrevia|tion cau|
|00001600| 73 65 73 20 69 74 20 74 | 6f 20 65 78 70 61 6e 64 |ses it t|o expand|
|00001610| 0a 61 6e 64 20 62 65 20 | 72 65 70 6c 61 63 65 64 |.and be |replaced|
|00001620| 20 62 79 20 69 74 73 20 | 65 78 70 61 6e 73 69 6f | by its |expansio|
|00001630| 6e 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 61 |n...(def|alias 'a|
|00001640| 62 62 72 65 76 2d 6d 6f | 64 65 20 23 5b 28 61 72 |bbrev-mo|de #[(ar|
|00001650| 67 29 20 22 08 ac 84 09 | 3f aa 85 c2 08 21 c3 56 |g) "....|?....!.V|
|00001660| 11 c4 20 87 22 20 5b 61 | 72 67 20 61 62 62 72 65 |.. ." [a|rg abbre|
|00001670| 76 2d 6d 6f 64 65 20 70 | 72 65 66 69 78 2d 6e 75 |v-mode p|refix-nu|
|00001680| 6d 65 72 69 63 2d 76 61 | 6c 75 65 20 30 20 72 65 |meric-va|lue 0 re|
|00001690| 64 72 61 77 2d 6d 6f 64 | 65 6c 69 6e 65 5d 20 32 |draw-mod|eline] 2|
|000016a0| 20 28 23 24 20 2e 20 35 | 35 30 37 29 20 22 50 22 | (#$ . 5|507) "P"|
|000016b0| 5d 29 0a 23 40 33 30 20 | 4b 65 79 6d 61 70 20 75 |]).#@30 |Keymap u|
|000016c0| 73 65 64 20 69 6e 20 65 | 64 69 74 2d 61 62 62 72 |sed in e|dit-abbr|
|000016d0| 65 76 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 65 64 |evs...(d|efvar ed|
|000016e0| 69 74 2d 61 62 62 72 65 | 76 73 2d 6d 61 70 20 6e |it-abbre|vs-map n|
|000016f0| 69 6c 20 28 23 24 20 2e | 20 35 38 31 36 29 29 0a |il (#$ .| 5816)).|
|00001700| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 ac 94 c1 |(byte-co|de "....|
|00001710| 20 10 c2 08 c0 5c 22 88 | c3 08 c4 c5 23 88 c3 08 | ....\".|....#...|
|00001720| c6 c5 23 88 c1 87 22 20 | 5b 65 64 69 74 2d 61 62 |..#..." |[edit-ab|
|00001730| 62 72 65 76 73 2d 6d 61 | 70 20 6d 61 6b 65 2d 73 |brevs-ma|p make-s|
|00001740| 70 61 72 73 65 2d 6b 65 | 79 6d 61 70 20 73 65 74 |parse-ke|ymap set|
|00001750| 2d 6b 65 79 6d 61 70 2d | 6e 61 6d 65 20 64 65 66 |-keymap-|name def|
|00001760| 69 6e 65 2d 6b 65 79 20 | 22 18 13 22 20 65 64 69 |ine-key |".." edi|
|00001770| 74 2d 61 62 62 72 65 76 | 73 2d 72 65 64 65 66 69 |t-abbrev|s-redefi|
|00001780| 6e 65 20 22 03 03 22 5d | 20 34 29 0a 23 40 33 31 |ne ".."]| 4).#@31|
|00001790| 20 55 6e 64 65 66 69 6e | 65 20 61 6c 6c 20 64 65 | Undefin|e all de|
|000017a0| 66 69 6e 65 64 20 61 62 | 62 72 65 76 73 2e 1f 0a |fined ab|brevs...|
|000017b0| 28 64 65 66 61 6c 69 61 | 73 20 27 6b 69 6c 6c 2d |(defalia|s 'kill-|
|000017c0| 61 6c 6c 2d 61 62 62 72 | 65 76 73 20 23 5b 6e 69 |all-abbr|evs #[ni|
|000017d0| 6c 20 22 08 89 19 ad 8d | c2 09 40 4a 21 88 09 41 |l ".....|..@J!..A|
|000017e0| 89 11 ac 74 c3 29 87 22 | 20 5b 61 62 62 72 65 76 |...t.)."| [abbrev|
|000017f0| 2d 74 61 62 6c 65 2d 6e | 61 6d 65 2d 6c 69 73 74 |-table-n|ame-list|
|00001800| 20 74 61 62 6c 65 73 20 | 63 6c 65 61 72 2d 61 62 | tables |clear-ab|
|00001810| 62 72 65 76 2d 74 61 62 | 6c 65 20 6e 69 6c 5d 20 |brev-tab|le nil] |
|00001820| 33 20 28 23 24 20 2e 20 | 36 30 33 33 29 20 6e 69 |3 (#$ . |6033) ni|
|00001830| 6c 5d 29 0a 23 40 39 35 | 20 49 6e 73 65 72 74 20 |l]).#@95| Insert |
|00001840| 61 66 74 65 72 20 70 6f | 69 6e 74 20 61 20 64 65 |after po|int a de|
|00001850| 73 63 72 69 70 74 69 6f | 6e 20 6f 66 20 61 6c 6c |scriptio|n of all|
|00001860| 20 64 65 66 69 6e 65 64 | 20 61 62 62 72 65 76 73 | defined| abbrevs|
|00001870| 2e 0a 4d 61 72 6b 20 69 | 73 20 73 65 74 20 61 66 |..Mark i|s set af|
|00001880| 74 65 72 20 74 68 65 20 | 69 6e 73 65 72 74 65 64 |ter the |inserted|
|00001890| 20 74 65 78 74 2e 1f 0a | 28 64 65 66 61 6c 69 61 | text...|(defalia|
|000018a0| 73 20 27 69 6e 73 65 72 | 74 2d 61 62 62 72 65 76 |s 'inser|t-abbrev|
|000018b0| 73 20 23 5b 6e 69 6c 20 | 22 c0 8a 09 89 1a ab 8c |s #[nil |".......|
|000018c0| c3 5c 6e 40 c4 5c 22 88 | 5c 6e 41 89 12 ac 74 29 |.\n@.\".|\nA...t)|
|000018d0| 60 29 21 87 22 20 5b 70 | 75 73 68 2d 6d 61 72 6b |`)!." [p|ush-mark|
|000018e0| 20 61 62 62 72 65 76 2d | 74 61 62 6c 65 2d 6e 61 | abbrev-|table-na|
|000018f0| 6d 65 2d 6c 69 73 74 20 | 74 61 62 6c 65 73 20 69 |me-list |tables i|
|00001900| 6e 73 65 72 74 2d 61 62 | 62 72 65 76 2d 74 61 62 |nsert-ab|brev-tab|
|00001910| 6c 65 2d 64 65 73 63 72 | 69 70 74 69 6f 6e 20 74 |le-descr|iption t|
|00001920| 5d 20 35 20 28 23 24 20 | 2e 20 36 32 30 31 29 20 |] 5 (#$ |. 6201) |
|00001930| 6e 69 6c 5d 29 0a 23 40 | 34 30 20 44 69 73 70 6c |nil]).#@|40 Displ|
|00001940| 61 79 20 61 20 6c 69 73 | 74 20 6f 66 20 61 6c 6c |ay a lis|t of all|
|00001950| 20 64 65 66 69 6e 65 64 | 20 61 62 62 72 65 76 73 | defined| abbrevs|
|00001960| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6c 69 |...(defa|lias 'li|
|00001970| 73 74 2d 61 62 62 72 65 | 76 73 20 23 5b 6e 69 6c |st-abbre|vs #[nil|
|00001980| 20 22 c0 c1 20 21 87 22 | 20 5b 64 69 73 70 6c 61 | ".. !."| [displa|
|00001990| 79 2d 62 75 66 66 65 72 | 20 70 72 65 70 61 72 65 |y-buffer| prepare|
|000019a0| 2d 61 62 62 72 65 76 2d | 6c 69 73 74 2d 62 75 66 |-abbrev-|list-buf|
|000019b0| 66 65 72 5d 20 32 20 28 | 23 24 20 2e 20 36 34 35 |fer] 2 (|#$ . 645|
|000019c0| 39 29 20 6e 69 6c 5d 29 | 0a 28 64 65 66 61 6c 69 |9) nil])|.(defali|
|000019d0| 61 73 20 27 70 72 65 70 | 61 72 65 2d 61 62 62 72 |as 'prep|are-abbr|
|000019e0| 65 76 2d 6c 69 73 74 2d | 62 75 66 66 65 72 20 23 |ev-list-|buffer #|
|000019f0| 5b 6e 69 6c 20 22 8a c0 | c1 21 71 88 c2 20 88 0b |[nil "..|.!q.. ..|
|00001a00| 89 1c ab 8c c5 0c 40 c6 | 5c 22 88 0c 41 89 14 ac |......@.|\"..A...|
|00001a10| 74 29 65 62 88 c7 c8 21 | 88 c9 20 88 29 c0 c1 21 |t)eb...!|.. .)..!|
|00001a20| 87 22 20 5b 67 65 74 2d | 62 75 66 66 65 72 2d 63 |." [get-|buffer-c|
|00001a30| 72 65 61 74 65 20 22 2a | 41 62 62 72 65 76 73 2a |reate "*|Abbrevs*|
|00001a40| 22 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 61 |" erase-|buffer a|
|00001a50| 62 62 72 65 76 2d 74 61 | 62 6c 65 2d 6e 61 6d 65 |bbrev-ta|ble-name|
|00001a60| 2d 6c 69 73 74 20 74 61 | 62 6c 65 73 20 69 6e 73 |-list ta|bles ins|
|00001a70| 65 72 74 2d 61 62 62 72 | 65 76 2d 74 61 62 6c 65 |ert-abbr|ev-table|
|00001a80| 2d 64 65 73 63 72 69 70 | 74 69 6f 6e 20 74 20 73 |-descrip|tion t s|
|00001a90| 65 74 2d 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |et-buffe|r-modifi|
|00001aa0| 65 64 2d 70 20 6e 69 6c | 20 65 64 69 74 2d 61 62 |ed-p nil| edit-ab|
|00001ab0| 62 72 65 76 73 2d 6d 6f | 64 65 5d 20 34 5d 29 0a |brevs-mo|de] 4]).|
|00001ac0| 23 40 37 36 20 4d 61 6a | 6f 72 20 6d 6f 64 65 20 |#@76 Maj|or mode |
|00001ad0| 66 6f 72 20 65 64 69 74 | 69 6e 67 20 74 68 65 20 |for edit|ing the |
|00001ae0| 6c 69 73 74 20 6f 66 20 | 61 62 62 72 65 76 20 64 |list of |abbrev d|
|00001af0| 65 66 69 6e 69 74 69 6f | 6e 73 2e 0a 5c 7b 65 64 |efinitio|ns..\{ed|
|00001b00| 69 74 2d 61 62 62 72 65 | 76 73 2d 6d 61 70 7d 1f |it-abbre|vs-map}.|
|00001b10| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 64 69 74 |.(defali|as 'edit|
|00001b20| 2d 61 62 62 72 65 76 73 | 2d 6d 6f 64 65 20 23 5b |-abbrevs|-mode #[|
|00001b30| 6e 69 6c 20 22 c0 11 c2 | 13 c4 0d 21 87 22 20 5b |nil "...|...!." [|
|00001b40| 65 64 69 74 2d 61 62 62 | 72 65 76 73 2d 6d 6f 64 |edit-abb|revs-mod|
|00001b50| 65 20 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 22 45 64 |e major-|mode "Ed|
|00001b60| 69 74 2d 41 62 62 72 65 | 76 73 22 20 6d 6f 64 65 |it-Abbre|vs" mode|
|00001b70| 2d 6e 61 6d 65 20 75 73 | 65 2d 6c 6f 63 61 6c 2d |-name us|e-local-|
|00001b80| 6d 61 70 20 65 64 69 74 | 2d 61 62 62 72 65 76 73 |map edit|-abbrevs|
|00001b90| 2d 6d 61 70 5d 20 32 20 | 28 23 24 20 2e 20 36 38 |-map] 2 |(#$ . 68|
|00001ba0| 35 33 29 20 6e 69 6c 5d | 29 0a 23 40 35 36 38 20 |53) nil]|).#@568 |
|00001bb0| 41 6c 74 65 72 20 61 62 | 62 72 65 76 20 64 65 66 |Alter ab|brev def|
|00001bc0| 69 6e 69 74 69 6f 6e 73 | 20 62 79 20 65 64 69 74 |initions| by edit|
|00001bd0| 69 6e 67 20 61 20 6c 69 | 73 74 20 6f 66 20 74 68 |ing a li|st of th|
|00001be0| 65 6d 2e 0a 53 65 6c 65 | 63 74 73 20 61 20 62 75 |em..Sele|cts a bu|
|00001bf0| 66 66 65 72 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ffer con|taining |
|00001c00| 61 20 6c 69 73 74 20 6f | 66 20 61 62 62 72 65 76 |a list o|f abbrev|
|00001c10| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 2e 0a 59 6f | definit|ions..Yo|
|00001c20| 75 20 63 61 6e 20 65 64 | 69 74 20 74 68 65 6d 20 |u can ed|it them |
|00001c30| 61 6e 64 20 74 79 70 65 | 20 5c 3c 65 64 69 74 2d |and type| \<edit-|
|00001c40| 61 62 62 72 65 76 73 2d | 6d 61 70 3e 5c 5b 65 64 |abbrevs-|map>\[ed|
|00001c50| 69 74 2d 61 62 62 72 65 | 76 73 2d 72 65 64 65 66 |it-abbre|vs-redef|
|00001c60| 69 6e 65 5d 20 74 6f 20 | 72 65 64 65 66 69 6e 65 |ine] to |redefine|
|00001c70| 20 61 62 62 72 65 76 73 | 0a 61 63 63 6f 72 64 69 | abbrevs|.accordi|
|00001c80| 6e 67 20 74 6f 20 79 6f | 75 72 20 65 64 69 74 69 |ng to yo|ur editi|
|00001c90| 6e 67 2e 0a 42 75 66 66 | 65 72 20 63 6f 6e 74 61 |ng..Buff|er conta|
|00001ca0| 69 6e 73 20 61 20 68 65 | 61 64 65 72 20 6c 69 6e |ins a he|ader lin|
|00001cb0| 65 20 66 6f 72 20 65 61 | 63 68 20 61 62 62 72 65 |e for ea|ch abbre|
|00001cc0| 76 20 74 61 62 6c 65 2c | 0a 20 77 68 69 63 68 20 |v table,|. which |
|00001cd0| 69 73 20 74 68 65 20 61 | 62 62 72 65 76 20 74 61 |is the a|bbrev ta|
|00001ce0| 62 6c 65 20 6e 61 6d 65 | 20 69 6e 20 70 61 72 65 |ble name| in pare|
|00001cf0| 6e 74 68 65 73 65 73 2e | 0a 54 68 69 73 20 69 73 |ntheses.|.This is|
|00001d00| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 6f 6e 65 | followe|d by one|
|00001d10| 20 6c 69 6e 65 20 70 65 | 72 20 61 62 62 72 65 76 | line pe|r abbrev|
|00001d20| 20 69 6e 20 74 68 61 74 | 20 74 61 62 6c 65 3a 0a | in that| table:.|
|00001d30| 4e 41 4d 45 20 20 20 55 | 53 45 43 4f 55 4e 54 20 |NAME U|SECOUNT |
|00001d40| 20 20 45 58 50 41 4e 53 | 49 4f 4e 20 20 20 48 4f | EXPANS|ION HO|
|00001d50| 4f 4b 0a 77 68 65 72 65 | 20 4e 41 4d 45 20 61 6e |OK.where| NAME an|
|00001d60| 64 20 45 58 50 41 4e 53 | 49 4f 4e 20 61 72 65 20 |d EXPANS|ION are |
|00001d70| 73 74 72 69 6e 67 73 20 | 77 69 74 68 20 71 75 6f |strings |with quo|
|00001d80| 74 65 73 2c 0a 55 53 45 | 43 4f 55 4e 54 20 69 73 |tes,.USE|COUNT is|
|00001d90| 20 61 6e 20 69 6e 74 65 | 67 65 72 2c 20 61 6e 64 | an inte|ger, and|
|00001da0| 20 48 4f 4f 4b 20 69 73 | 20 61 6e 79 20 76 61 6c | HOOK is| any val|
|00001db0| 69 64 20 66 75 6e 63 74 | 69 6f 6e 0a 6f 72 20 6d |id funct|ion.or m|
|00001dc0| 61 79 20 62 65 20 6f 6d | 69 74 74 65 64 20 28 69 |ay be om|itted (i|
|00001dd0| 74 20 69 73 20 75 73 75 | 61 6c 6c 79 20 6f 6d 69 |t is usu|ally omi|
|00001de0| 74 74 65 64 29 2e 1f 0a | 28 64 65 66 61 6c 69 61 |tted)...|(defalia|
|00001df0| 73 20 27 65 64 69 74 2d | 61 62 62 72 65 76 73 20 |s 'edit-|abbrevs |
|00001e00| 23 5b 6e 69 6c 20 22 c0 | c1 20 21 87 22 20 5b 73 |#[nil ".|. !." [s|
|00001e10| 77 69 74 63 68 2d 74 6f | 2d 62 75 66 66 65 72 20 |witch-to|-buffer |
|00001e20| 70 72 65 70 61 72 65 2d | 61 62 62 72 65 76 2d 6c |prepare-|abbrev-l|
|00001e30| 69 73 74 2d 62 75 66 66 | 65 72 5d 20 32 20 28 23 |ist-buff|er] 2 (#|
|00001e40| 24 20 2e 20 37 30 38 38 | 29 20 6e 69 6c 5d 29 0a |$ . 7088|) nil]).|
|00001e50| 23 40 35 36 20 52 65 64 | 65 66 69 6e 65 20 61 62 |#@56 Red|efine ab|
|00001e60| 62 72 65 76 73 20 61 63 | 63 6f 72 64 69 6e 67 20 |brevs ac|cording |
|00001e70| 74 6f 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |to curre|nt buffe|
|00001e80| 72 20 63 6f 6e 74 65 6e | 74 73 2e 1f 0a 28 64 65 |r conten|ts...(de|
|00001e90| 66 61 6c 69 61 73 20 27 | 65 64 69 74 2d 61 62 62 |falias '|edit-abb|
|00001ea0| 72 65 76 73 2d 72 65 64 | 65 66 69 6e 65 20 23 5b |revs-red|efine #[|
|00001eb0| 6e 69 6c 20 22 c0 c1 21 | 88 c2 c3 21 87 22 20 5b |nil "..!|...!." [|
|00001ec0| 64 65 66 69 6e 65 2d 61 | 62 62 72 65 76 73 20 74 |define-a|bbrevs t|
|00001ed0| 20 73 65 74 2d 62 75 66 | 66 65 72 2d 6d 6f 64 69 | set-buf|fer-modi|
|00001ee0| 66 69 65 64 2d 70 20 6e | 69 6c 5d 20 32 20 28 23 |fied-p n|il] 2 (#|
|00001ef0| 24 20 2e 20 37 37 36 35 | 29 20 6e 69 6c 5d 29 0a |$ . 7765|) nil]).|
|00001f00| 23 40 32 35 35 20 44 65 | 66 69 6e 65 20 61 62 62 |#@255 De|fine abb|
|00001f10| 72 65 76 73 20 61 63 63 | 6f 72 64 69 6e 67 20 74 |revs acc|ording t|
|00001f20| 6f 20 63 75 72 72 65 6e | 74 20 76 69 73 69 62 6c |o curren|t visibl|
|00001f30| 65 20 62 75 66 66 65 72 | 20 63 6f 6e 74 65 6e 74 |e buffer| content|
|00001f40| 73 2e 0a 53 65 65 20 64 | 6f 63 75 6d 65 6e 74 61 |s..See d|ocumenta|
|00001f50| 74 69 6f 6e 20 6f 66 20 | 60 65 64 69 74 2d 61 62 |tion of |`edit-ab|
|00001f60| 62 72 65 76 73 27 20 66 | 6f 72 20 69 6e 66 6f 20 |brevs' f|or info |
|00001f70| 6f 6e 20 74 68 65 20 66 | 6f 72 6d 61 74 20 6f 66 |on the f|ormat of|
|00001f80| 20 74 68 65 0a 74 65 78 | 74 20 79 6f 75 20 6d 75 | the.tex|t you mu|
|00001f90| 73 74 20 68 61 76 65 20 | 69 6e 20 74 68 65 20 62 |st have |in the b|
|00001fa0| 75 66 66 65 72 2e 0a 57 | 69 74 68 20 61 72 67 75 |uffer..W|ith argu|
|00001fb0| 6d 65 6e 74 2c 20 65 6c | 69 6d 69 6e 61 74 65 20 |ment, el|iminate |
|00001fc0| 61 6c 6c 20 61 62 62 72 | 65 76 20 64 65 66 69 6e |all abbr|ev defin|
|00001fd0| 69 74 69 6f 6e 73 20 65 | 78 63 65 70 74 0a 74 68 |itions e|xcept.th|
|00001fe0| 65 20 6f 6e 65 73 20 64 | 65 66 69 6e 65 64 20 66 |e ones d|efined f|
|00001ff0| 72 6f 6d 20 74 68 65 20 | 62 75 66 66 65 72 20 6e |rom the |buffer n|
|00002000| 6f 77 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ow...(de|falias '|
|00002010| 64 65 66 69 6e 65 2d 61 | 62 62 72 65 76 73 20 23 |define-a|bbrevs #|
|00002020| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 61 72 67 29 |[(&optio|nal arg)|
|00002030| 20 22 08 ab 83 c1 20 88 | 8a 65 62 88 6d 3f ad e7 | ".... .|.eb.m?..|
|00002040| c2 c3 c4 c5 23 ad e0 70 | 1e 06 c7 0e 06 21 1e 08 |....#..p|.....!..|
|00002050| c4 1e 09 c4 1e 5c 6e c4 | 1e 0b c4 1e 0c c4 1e 0d |.....\n.|........|
|00002060| ce 79 88 ce 79 88 6c ac | b4 c7 0e 06 21 16 5c 6e |.y..y.l.|....!.\n|
|00002070| c7 0e 06 21 16 0d c7 0e | 06 21 16 0c cf c4 78 88 |...!....|.!....x.|
|00002080| 6c 3f ad 84 c7 0e 06 21 | 16 0b cf c4 78 88 0e 5c |l?.....!|....x..\|
|00002090| 6e 0e 0c 0e 0b 0e 0d 46 | 0e 09 42 16 09 aa 46 d0 |n......F|..B...F.|
|000020a0| 0e 08 0e 09 5c 22 88 2e | 07 aa 15 29 87 22 20 5b |....\"..|...)." [|
|000020b0| 61 72 67 20 6b 69 6c 6c | 2d 61 6c 6c 2d 61 62 62 |arg kill|-all-abb|
|000020c0| 72 65 76 73 20 72 65 2d | 73 65 61 72 63 68 2d 66 |revs re-|search-f|
|000020d0| 6f 72 77 61 72 64 20 22 | 5e 28 22 20 6e 69 6c 20 |orward "|^(" nil |
|000020e0| 74 20 62 75 66 20 72 65 | 61 64 20 74 61 62 6c 65 |t buf re|ad table|
|000020f0| 20 61 62 62 72 65 76 73 | 20 6e 61 6d 65 20 68 6f | abbrevs| name ho|
|00002100| 6f 6b 20 65 78 70 20 63 | 6f 75 6e 74 20 31 20 22 |ok exp c|ount 1 "|
|00002110| 20 09 5c 6e 0c 22 20 64 | 65 66 69 6e 65 2d 61 62 | .\n." d|efine-ab|
|00002120| 62 72 65 76 2d 74 61 62 | 6c 65 5d 20 34 20 28 23 |brev-tab|le] 4 (#|
|00002130| 24 20 2e 20 37 39 34 32 | 29 20 22 50 22 5d 29 0a |$ . 7942|) "P"]).|
|00002140| 23 40 32 34 32 20 52 65 | 61 64 20 61 62 62 72 65 |#@242 Re|ad abbre|
|00002150| 76 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 66 72 |v defini|tions fr|
|00002160| 6f 6d 20 66 69 6c 65 20 | 77 72 69 74 74 65 6e 20 |om file |written |
|00002170| 77 69 74 68 20 60 77 72 | 69 74 65 2d 61 62 62 72 |with `wr|ite-abbr|
|00002180| 65 76 2d 66 69 6c 65 27 | 2e 0a 4f 70 74 69 6f 6e |ev-file'|..Option|
|00002190| 61 6c 20 61 72 67 75 6d | 65 6e 74 20 46 49 4c 45 |al argum|ent FILE|
|000021a0| 20 69 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | is the |name of |
|000021b0| 74 68 65 20 66 69 6c 65 | 20 74 6f 20 72 65 61 64 |the file| to read|
|000021c0| 3b 0a 69 74 20 64 65 66 | 61 75 6c 74 73 20 74 6f |;.it def|aults to|
|000021d0| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 60 61 | the val|ue of `a|
|000021e0| 62 62 72 65 76 2d 66 69 | 6c 65 2d 6e 61 6d 65 27 |bbrev-fi|le-name'|
|000021f0| 2e 0a 4f 70 74 69 6f 6e | 61 6c 20 73 65 63 6f 6e |..Option|al secon|
|00002200| 64 20 61 72 67 75 6d 65 | 6e 74 20 51 55 49 45 54 |d argume|nt QUIET|
|00002210| 4c 59 20 6e 6f 6e 2d 6e | 69 6c 20 6d 65 61 6e 73 |LY non-n|il means|
|00002220| 20 64 6f 6e 27 74 20 70 | 72 69 6e 74 20 61 6e 79 | don't p|rint any|
|00002230| 74 68 69 6e 67 2e 1f 0a | 28 64 65 66 61 6c 69 61 |thing...|(defalia|
|00002240| 73 20 27 72 65 61 64 2d | 61 62 62 72 65 76 2d 66 |s 'read-|abbrev-f|
|00002250| 69 6c 65 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |ile #[(&|optional|
|00002260| 20 66 69 6c 65 20 71 75 | 69 65 74 6c 79 29 20 22 | file qu|ietly) "|
|00002270| c0 09 ab 89 09 47 c2 56 | ab 83 09 aa 81 0b c4 0d |.....G.V|........|
|00002280| 23 88 c6 16 07 c4 89 16 | 08 87 22 20 5b 6c 6f 61 |#.......|.." [loa|
|00002290| 64 20 66 69 6c 65 20 30 | 20 61 62 62 72 65 76 2d |d file 0| abbrev-|
|000022a0| 66 69 6c 65 2d 6e 61 6d | 65 20 6e 69 6c 20 71 75 |file-nam|e nil qu|
|000022b0| 69 65 74 6c 79 20 74 20 | 73 61 76 65 2d 61 62 62 |ietly t |save-abb|
|000022c0| 72 65 76 73 20 61 62 62 | 72 65 76 73 2d 63 68 61 |revs abb|revs-cha|
|000022d0| 6e 67 65 64 5d 20 34 20 | 28 23 24 20 2e 20 38 35 |nged] 4 |(#$ . 85|
|000022e0| 31 38 29 20 22 66 52 65 | 61 64 20 61 62 62 72 65 |18) "fRe|ad abbre|
|000022f0| 76 20 66 69 6c 65 3a 20 | 22 5d 29 0a 23 40 31 39 |v file: |"]).#@19|
|00002300| 36 20 52 65 61 64 20 61 | 62 62 72 65 76 20 64 65 |6 Read a|bbrev de|
|00002310| 66 69 6e 69 74 69 6f 6e | 73 20 66 72 6f 6d 20 66 |finition|s from f|
|00002320| 69 6c 65 20 77 72 69 74 | 74 65 6e 20 77 69 74 68 |ile writ|ten with|
|00002330| 20 77 72 69 74 65 2d 61 | 62 62 72 65 76 2d 66 69 | write-a|bbrev-fi|
|00002340| 6c 65 2e 0a 4f 70 74 69 | 6f 6e 61 6c 20 61 72 67 |le..Opti|onal arg|
|00002350| 75 6d 65 6e 74 20 46 49 | 4c 45 20 69 73 20 74 68 |ument FI|LE is th|
|00002360| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 66 69 |e name o|f the fi|
|00002370| 6c 65 20 74 6f 20 72 65 | 61 64 3b 0a 69 74 20 64 |le to re|ad;.it d|
|00002380| 65 66 61 75 6c 74 73 20 | 74 6f 20 74 68 65 20 76 |efaults |to the v|
|00002390| 61 6c 75 65 20 6f 66 20 | 60 61 62 62 72 65 76 2d |alue of |`abbrev-|
|000023a0| 66 69 6c 65 2d 6e 61 6d | 65 27 2e 0a 44 6f 65 73 |file-nam|e'..Does|
|000023b0| 20 6e 6f 74 20 70 72 69 | 6e 74 20 61 6e 79 74 68 | not pri|nt anyth|
|000023c0| 69 6e 67 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ing...(d|efalias |
|000023d0| 27 71 75 69 65 74 6c 79 | 2d 72 65 61 64 2d 61 62 |'quietly|-read-ab|
|000023e0| 62 72 65 76 2d 66 69 6c | 65 20 23 5b 28 26 6f 70 |brev-fil|e #[(&op|
|000023f0| 74 69 6f 6e 61 6c 20 66 | 69 6c 65 29 20 22 c0 09 |tional f|ile) "..|
|00002400| c2 5c 22 87 22 20 5b 72 | 65 61 64 2d 61 62 62 72 |.\"." [r|ead-abbr|
|00002410| 65 76 2d 66 69 6c 65 20 | 66 69 6c 65 20 74 5d 20 |ev-file |file t] |
|00002420| 33 20 28 23 24 20 2e 20 | 38 39 36 32 29 5d 29 0a |3 (#$ . |8962)]).|
|00002430| 23 40 31 37 37 20 57 72 | 69 74 65 20 61 6c 6c 20 |#@177 Wr|ite all |
|00002440| 61 62 62 72 65 76 20 64 | 65 66 69 6e 69 74 69 6f |abbrev d|efinitio|
|00002450| 6e 73 20 74 6f 20 61 20 | 66 69 6c 65 20 6f 66 20 |ns to a |file of |
|00002460| 4c 69 73 70 20 63 6f 64 | 65 2e 0a 54 68 65 20 66 |Lisp cod|e..The f|
|00002470| 69 6c 65 20 77 72 69 74 | 74 65 6e 20 63 61 6e 20 |ile writ|ten can |
|00002480| 62 65 20 6c 6f 61 64 65 | 64 20 69 6e 20 61 6e 6f |be loade|d in ano|
|00002490| 74 68 65 72 20 73 65 73 | 73 69 6f 6e 20 74 6f 20 |ther ses|sion to |
|000024a0| 64 65 66 69 6e 65 20 74 | 68 65 20 73 61 6d 65 20 |define t|he same |
|000024b0| 61 62 62 72 65 76 73 2e | 0a 54 68 65 20 61 72 67 |abbrevs.|.The arg|
|000024c0| 75 6d 65 6e 74 20 46 49 | 4c 45 20 69 73 20 74 68 |ument FI|LE is th|
|000024d0| 65 20 66 69 6c 65 20 6e | 61 6d 65 20 74 6f 20 77 |e file n|ame to w|
|000024e0| 72 69 74 65 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |rite...(|defalias|
|000024f0| 20 27 77 72 69 74 65 2d | 61 62 62 72 65 76 2d 66 | 'write-|abbrev-f|
|00002500| 69 6c 65 20 23 5b 28 66 | 69 6c 65 29 20 22 08 ab |ile #[(f|ile) "..|
|00002510| 86 08 47 c1 56 ac 82 5c | 6e 10 8a c3 c4 21 71 88 |..G.V..\|n....!q.|
|00002520| c5 20 88 0e 06 89 1e 07 | ab 8f c8 0e 07 40 c9 5c |. ......|.....@.\|
|00002530| 22 88 0e 07 41 89 16 07 | ac 71 29 ca cb 64 08 23 |"...A...|.q)..d.#|
|00002540| 88 c5 20 29 87 22 20 5b | 66 69 6c 65 20 30 20 61 |.. )." [|file 0 a|
|00002550| 62 62 72 65 76 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |bbrev-fi|le-name |
|00002560| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00002570| 65 20 22 20 77 72 69 74 | 65 2d 61 62 62 72 65 76 |e " writ|e-abbrev|
|00002580| 2d 66 69 6c 65 22 20 65 | 72 61 73 65 2d 62 75 66 |-file" e|rase-buf|
|00002590| 66 65 72 20 61 62 62 72 | 65 76 2d 74 61 62 6c 65 |fer abbr|ev-table|
|000025a0| 2d 6e 61 6d 65 2d 6c 69 | 73 74 20 74 61 62 6c 65 |-name-li|st table|
|000025b0| 73 20 69 6e 73 65 72 74 | 2d 61 62 62 72 65 76 2d |s insert|-abbrev-|
|000025c0| 74 61 62 6c 65 2d 64 65 | 73 63 72 69 70 74 69 6f |table-de|scriptio|
|000025d0| 6e 20 6e 69 6c 20 77 72 | 69 74 65 2d 72 65 67 69 |n nil wr|ite-regi|
|000025e0| 6f 6e 20 31 5d 20 35 20 | 28 23 24 20 2e 20 39 32 |on 1] 5 |(#$ . 92|
|000025f0| 37 30 29 20 28 6c 69 73 | 74 20 28 72 65 61 64 2d |70) (lis|t (read-|
|00002600| 66 69 6c 65 2d 6e 61 6d | 65 20 22 57 72 69 74 65 |file-nam|e "Write|
|00002610| 20 61 62 62 72 65 76 20 | 66 69 6c 65 3a 20 22 20 | abbrev |file: " |
|00002620| 28 66 69 6c 65 2d 6e 61 | 6d 65 2d 64 69 72 65 63 |(file-na|me-direc|
|00002630| 74 6f 72 79 20 28 65 78 | 70 61 6e 64 2d 66 69 6c |tory (ex|pand-fil|
|00002640| 65 2d 6e 61 6d 65 20 61 | 62 62 72 65 76 2d 66 69 |e-name a|bbrev-fi|
|00002650| 6c 65 2d 6e 61 6d 65 29 | 29 20 61 62 62 72 65 76 |le-name)|) abbrev|
|00002660| 2d 66 69 6c 65 2d 6e 61 | 6d 65 29 29 5d 29 0a 23 |-file-na|me))]).#|
|00002670| 40 33 33 38 20 44 65 66 | 69 6e 65 20 6d 6f 64 65 |@338 Def|ine mode|
|00002680| 2d 73 70 65 63 69 66 69 | 63 20 61 62 62 72 65 76 |-specifi|c abbrev|
|00002690| 20 66 6f 72 20 6c 61 73 | 74 20 77 6f 72 64 28 73 | for las|t word(s|
|000026a0| 29 20 62 65 66 6f 72 65 | 20 70 6f 69 6e 74 2e 0a |) before| point..|
|000026b0| 41 72 67 75 6d 65 6e 74 | 20 69 73 20 68 6f 77 20 |Argument| is how |
|000026c0| 6d 61 6e 79 20 77 6f 72 | 64 73 20 62 65 66 6f 72 |many wor|ds befor|
|000026d0| 65 20 70 6f 69 6e 74 20 | 66 6f 72 6d 20 74 68 65 |e point |form the|
|000026e0| 20 65 78 70 61 6e 73 69 | 6f 6e 3b 0a 6f 72 20 7a | expansi|on;.or z|
|000026f0| 65 72 6f 20 6d 65 61 6e | 73 20 74 68 65 20 72 65 |ero mean|s the re|
|00002700| 67 69 6f 6e 20 69 73 20 | 74 68 65 20 65 78 70 61 |gion is |the expa|
|00002710| 6e 73 69 6f 6e 2e 0a 41 | 20 6e 65 67 61 74 69 76 |nsion..A| negativ|
|00002720| 65 20 61 72 67 75 6d 65 | 6e 74 20 6d 65 61 6e 73 |e argume|nt means|
|00002730| 20 74 6f 20 75 6e 64 65 | 66 69 6e 65 20 74 68 65 | to unde|fine the|
|00002740| 20 73 70 65 63 69 66 69 | 65 64 20 61 62 62 72 65 | specifi|ed abbre|
|00002750| 76 2e 0a 52 65 61 64 73 | 20 74 68 65 20 61 62 62 |v..Reads| the abb|
|00002760| 72 65 76 69 61 74 69 6f | 6e 20 69 6e 20 74 68 65 |reviatio|n in the|
|00002770| 20 6d 69 6e 69 62 75 66 | 66 65 72 2e 0a 0a 44 6f | minibuf|fer...Do|
|00002780| 6e 27 74 20 75 73 65 20 | 74 68 69 73 20 66 75 6e |n't use |this fun|
|00002790| 63 74 69 6f 6e 20 69 6e | 20 61 20 4c 69 73 70 20 |ction in| a Lisp |
|000027a0| 70 72 6f 67 72 61 6d 3b | 20 75 73 65 20 60 64 65 |program;| use `de|
|000027b0| 66 69 6e 65 2d 61 62 62 | 72 65 76 27 20 69 6e 73 |fine-abb|rev' ins|
|000027c0| 74 65 61 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |tead...(|defalias|
|000027d0| 20 27 61 64 64 2d 6d 6f | 64 65 2d 61 62 62 72 65 | 'add-mo|de-abbre|
|000027e0| 76 20 23 5b 28 61 72 67 | 29 20 22 c0 09 ab 83 5c |v #[(arg|) "....\|
|000027f0| 6e aa 86 0b ae 83 c4 c5 | 21 c6 0e 07 23 87 22 20 |n.......|!...#." |
|00002800| 5b 61 64 64 2d 61 62 62 | 72 65 76 20 6f 6e 6c 79 |[add-abb|rev only|
|00002810| 2d 67 6c 6f 62 61 6c 2d | 61 62 62 72 65 76 73 20 |-global-|abbrevs |
|00002820| 67 6c 6f 62 61 6c 2d 61 | 62 62 72 65 76 2d 74 61 |global-a|bbrev-ta|
|00002830| 62 6c 65 20 6c 6f 63 61 | 6c 2d 61 62 62 72 65 76 |ble loca|l-abbrev|
|00002840| 2d 74 61 62 6c 65 20 65 | 72 72 6f 72 20 22 4e 6f |-table e|rror "No|
|00002850| 20 70 65 72 2d 6d 6f 64 | 65 20 61 62 62 72 65 76 | per-mod|e abbrev|
|00002860| 20 74 61 62 6c 65 22 20 | 22 4d 6f 64 65 22 20 61 | table" |"Mode" a|
|00002870| 72 67 5d 20 34 20 28 23 | 24 20 2e 20 39 38 34 35 |rg] 4 (#|$ . 9845|
|00002880| 29 20 22 50 22 5d 29 0a | 23 40 33 38 38 20 44 65 |) "P"]).|#@388 De|
|00002890| 66 69 6e 65 20 67 6c 6f | 62 61 6c 20 28 61 6c 6c |fine glo|bal (all|
|000028a0| 20 6d 6f 64 65 73 29 20 | 61 62 62 72 65 76 20 66 | modes) |abbrev f|
|000028b0| 6f 72 20 6c 61 73 74 20 | 77 6f 72 64 28 73 29 20 |or last |word(s) |
|000028c0| 62 65 66 6f 72 65 20 70 | 6f 69 6e 74 2e 0a 54 68 |before p|oint..Th|
|000028d0| 65 20 70 72 65 66 69 78 | 20 61 72 67 75 6d 65 6e |e prefix| argumen|
|000028e0| 74 20 73 70 65 63 69 66 | 69 65 73 20 74 68 65 20 |t specif|ies the |
|000028f0| 6e 75 6d 62 65 72 20 6f | 66 20 77 6f 72 64 73 20 |number o|f words |
|00002900| 62 65 66 6f 72 65 20 70 | 6f 69 6e 74 20 74 68 61 |before p|oint tha|
|00002910| 74 20 66 6f 72 6d 20 74 | 68 65 0a 65 78 70 61 6e |t form t|he.expan|
|00002920| 73 69 6f 6e 3b 20 6f 72 | 20 7a 65 72 6f 20 6d 65 |sion; or| zero me|
|00002930| 61 6e 73 20 74 68 65 20 | 72 65 67 69 6f 6e 20 69 |ans the |region i|
|00002940| 73 20 74 68 65 20 65 78 | 70 61 6e 73 69 6f 6e 2e |s the ex|pansion.|
|00002950| 0a 41 20 6e 65 67 61 74 | 69 76 65 20 61 72 67 75 |.A negat|ive argu|
|00002960| 6d 65 6e 74 20 6d 65 61 | 6e 73 20 74 6f 20 75 6e |ment mea|ns to un|
|00002970| 64 65 66 69 6e 65 20 74 | 68 65 20 73 70 65 63 69 |define t|he speci|
|00002980| 66 69 65 64 20 61 62 62 | 72 65 76 2e 0a 54 68 69 |fied abb|rev..Thi|
|00002990| 73 20 63 6f 6d 6d 61 6e | 64 20 75 73 65 73 20 74 |s comman|d uses t|
|000029a0| 68 65 20 6d 69 6e 69 62 | 75 66 66 65 72 20 74 6f |he minib|uffer to|
|000029b0| 20 72 65 61 64 20 74 68 | 65 20 61 62 62 72 65 76 | read th|e abbrev|
|000029c0| 69 61 74 69 6f 6e 2e 0a | 0a 44 6f 6e 27 74 20 75 |iation..|.Don't u|
|000029d0| 73 65 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |se this |function|
|000029e0| 20 69 6e 20 61 20 4c 69 | 73 70 20 70 72 6f 67 72 | in a Li|sp progr|
|000029f0| 61 6d 3b 20 75 73 65 20 | 60 64 65 66 69 6e 65 2d |am; use |`define-|
|00002a00| 61 62 62 72 65 76 27 20 | 69 6e 73 74 65 61 64 2e |abbrev' |instead.|
|00002a10| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 64 64 |..(defal|ias 'add|
|00002a20| 2d 67 6c 6f 62 61 6c 2d | 61 62 62 72 65 76 20 23 |-global-|abbrev #|
|00002a30| 5b 28 61 72 67 29 20 22 | c0 09 c2 0b 23 87 22 20 |[(arg) "|....#." |
|00002a40| 5b 61 64 64 2d 61 62 62 | 72 65 76 20 67 6c 6f 62 |[add-abb|rev glob|
|00002a50| 61 6c 2d 61 62 62 72 65 | 76 2d 74 61 62 6c 65 20 |al-abbre|v-table |
|00002a60| 22 47 6c 6f 62 61 6c 22 | 20 61 72 67 5d 20 34 20 |"Global"| arg] 4 |
|00002a70| 28 23 24 20 2e 20 31 30 | 33 38 32 29 20 22 50 22 |(#$ . 10|382) "P"|
|00002a80| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 64 |]).(defa|lias 'ad|
|00002a90| 64 2d 61 62 62 72 65 76 | 20 23 5b 28 74 61 62 6c |d-abbrev| #[(tabl|
|00002aa0| 65 20 74 79 70 65 20 61 | 72 67 29 20 22 08 ac 88 |e type a|rg) "...|
|00002ab0| c1 20 ab 84 c2 10 aa 84 | c3 08 21 10 08 c2 59 ad |. ......|..!...Y.|
|00002ac0| 92 60 08 c2 55 ab 84 c4 | 20 aa 87 8a 08 5b 76 88 |.`..U...| ....[v.|
|00002ad0| 60 29 7b c5 1e 06 1e 07 | c8 c9 0e 07 ab 83 ca aa |`){.....|........|
|00002ae0| 81 cb 0e 0c 0e 07 23 21 | 16 06 cd c2 0e 06 47 c5 |......#!|......G.|
|00002af0| 0e 06 24 88 0e 07 ab 97 | ce 0e 06 0e 0f 5c 22 ab |..$.....|.....\".|
|00002b00| 8f d0 c9 d1 0e 06 ce 0e | 06 0e 0f 5c 22 23 21 ad |........|...\"#!.|
|00002b10| 89 d2 0e 0f 0e 06 97 0e | 07 23 2a 87 22 20 5b 61 |........|.#*." [a|
|00002b20| 72 67 20 72 65 67 69 6f | 6e 2d 61 63 74 69 76 65 |rg regio|n-active|
|00002b30| 2d 70 20 30 20 70 72 65 | 66 69 78 2d 6e 75 6d 65 |-p 0 pre|fix-nume|
|00002b40| 72 69 63 2d 76 61 6c 75 | 65 20 6d 61 72 6b 20 6e |ric-valu|e mark n|
|00002b50| 69 6c 20 6e 61 6d 65 20 | 65 78 70 20 72 65 61 64 |il name |exp read|
|00002b60| 2d 73 74 72 69 6e 67 20 | 66 6f 72 6d 61 74 20 22 |-string |format "|
|00002b70| 25 73 20 61 62 62 72 65 | 76 20 66 6f 72 20 5c 22 |%s abbre|v for \"|
|00002b80| 25 73 5c 22 3a 20 22 20 | 22 55 6e 64 65 66 69 6e |%s\": " |"Undefin|
|00002b90| 65 20 25 73 20 61 62 62 | 72 65 76 3a 20 22 20 74 |e %s abb|rev: " t|
|00002ba0| 79 70 65 20 73 65 74 2d | 74 65 78 74 2d 70 72 6f |ype set-|text-pro|
|00002bb0| 70 65 72 74 69 65 73 20 | 61 62 62 72 65 76 2d 65 |perties |abbrev-e|
|00002bc0| 78 70 61 6e 73 69 6f 6e | 20 74 61 62 6c 65 20 79 |xpansion| table y|
|00002bd0| 2d 6f 72 2d 6e 2d 70 20 | 22 25 73 20 65 78 70 61 |-or-n-p |"%s expa|
|00002be0| 6e 64 73 20 74 6f 20 5c | 22 25 73 5c 22 3b 20 72 |nds to \|"%s\"; r|
|00002bf0| 65 64 65 66 69 6e 65 3f | 20 22 20 64 65 66 69 6e |edefine?| " defin|
|00002c00| 65 2d 61 62 62 72 65 76 | 5d 20 37 5d 29 0a 23 40 |e-abbrev|] 7]).#@|
|00002c10| 32 31 37 20 44 65 66 69 | 6e 65 20 6c 61 73 74 20 |217 Defi|ne last |
|00002c20| 77 6f 72 64 20 62 65 66 | 6f 72 65 20 70 6f 69 6e |word bef|ore poin|
|00002c30| 74 20 61 73 20 61 20 6d | 6f 64 65 2d 73 70 65 63 |t as a m|ode-spec|
|00002c40| 69 66 69 63 20 61 62 62 | 72 65 76 2e 0a 57 69 74 |ific abb|rev..Wit|
|00002c50| 68 20 70 72 65 66 69 78 | 20 61 72 67 75 6d 65 6e |h prefix| argumen|
|00002c60| 74 20 4e 2c 20 64 65 66 | 69 6e 65 73 20 74 68 65 |t N, def|ines the|
|00002c70| 20 4e 74 68 20 77 6f 72 | 64 20 62 65 66 6f 72 65 | Nth wor|d before|
|00002c80| 20 70 6f 69 6e 74 2e 0a | 54 68 69 73 20 63 6f 6d | point..|This com|
|00002c90| 6d 61 6e 64 20 75 73 65 | 73 20 74 68 65 20 6d 69 |mand use|s the mi|
|00002ca0| 6e 69 62 75 66 66 65 72 | 20 74 6f 20 72 65 61 64 |nibuffer| to read|
|00002cb0| 20 74 68 65 20 65 78 70 | 61 6e 73 69 6f 6e 2e 0a | the exp|ansion..|
|00002cc0| 45 78 70 61 6e 64 73 20 | 74 68 65 20 61 62 62 72 |Expands |the abbr|
|00002cd0| 65 76 69 61 74 69 6f 6e | 20 61 66 74 65 72 20 64 |eviation| after d|
|00002ce0| 65 66 69 6e 69 6e 67 20 | 69 74 2e 1f 0a 28 64 65 |efining |it...(de|
|00002cf0| 66 61 6c 69 61 73 20 27 | 69 6e 76 65 72 73 65 2d |falias '|inverse-|
|00002d00| 61 64 64 2d 6d 6f 64 65 | 2d 61 62 62 72 65 76 20 |add-mode|-abbrev |
|00002d10| 23 5b 28 61 72 67 29 20 | 22 c0 09 ab 83 5c 6e aa |#[(arg) |"....\n.|
|00002d20| 86 0b ae 83 c4 c5 21 c6 | 0e 07 23 87 22 20 5b 69 |......!.|..#." [i|
|00002d30| 6e 76 65 72 73 65 2d 61 | 64 64 2d 61 62 62 72 65 |nverse-a|dd-abbre|
|00002d40| 76 20 6f 6e 6c 79 2d 67 | 6c 6f 62 61 6c 2d 61 62 |v only-g|lobal-ab|
|00002d50| 62 72 65 76 73 20 67 6c | 6f 62 61 6c 2d 61 62 62 |brevs gl|obal-abb|
|00002d60| 72 65 76 2d 74 61 62 6c | 65 20 6c 6f 63 61 6c 2d |rev-tabl|e local-|
|00002d70| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 20 65 72 72 |abbrev-t|able err|
|00002d80| 6f 72 20 22 4e 6f 20 70 | 65 72 2d 6d 6f 64 65 20 |or "No p|er-mode |
|00002d90| 61 62 62 72 65 76 20 74 | 61 62 6c 65 22 20 22 4d |abbrev t|able" "M|
|00002da0| 6f 64 65 22 20 61 72 67 | 5d 20 34 20 28 23 24 20 |ode" arg|] 4 (#$ |
|00002db0| 2e 20 31 31 32 38 34 29 | 20 22 70 22 5d 29 0a 23 |. 11284)| "p"]).#|
|00002dc0| 40 32 32 39 20 44 65 66 | 69 6e 65 20 6c 61 73 74 |@229 Def|ine last|
|00002dd0| 20 77 6f 72 64 20 62 65 | 66 6f 72 65 20 70 6f 69 | word be|fore poi|
|00002de0| 6e 74 20 61 73 20 61 20 | 67 6c 6f 62 61 6c 20 28 |nt as a |global (|
|00002df0| 6d 6f 64 65 2d 69 6e 64 | 65 70 65 6e 64 65 6e 74 |mode-ind|ependent|
|00002e00| 29 20 61 62 62 72 65 76 | 2e 0a 57 69 74 68 20 70 |) abbrev|..With p|
|00002e10| 72 65 66 69 78 20 61 72 | 67 75 6d 65 6e 74 20 4e |refix ar|gument N|
|00002e20| 2c 20 64 65 66 69 6e 65 | 73 20 74 68 65 20 4e 74 |, define|s the Nt|
|00002e30| 68 20 77 6f 72 64 20 62 | 65 66 6f 72 65 20 70 6f |h word b|efore po|
|00002e40| 69 6e 74 2e 0a 54 68 69 | 73 20 63 6f 6d 6d 61 6e |int..Thi|s comman|
|00002e50| 64 20 75 73 65 73 20 74 | 68 65 20 6d 69 6e 69 62 |d uses t|he minib|
|00002e60| 75 66 66 65 72 20 74 6f | 20 72 65 61 64 20 74 68 |uffer to| read th|
|00002e70| 65 20 65 78 70 61 6e 73 | 69 6f 6e 2e 0a 45 78 70 |e expans|ion..Exp|
|00002e80| 61 6e 64 73 20 74 68 65 | 20 61 62 62 72 65 76 69 |ands the| abbrevi|
|00002e90| 61 74 69 6f 6e 20 61 66 | 74 65 72 20 64 65 66 69 |ation af|ter defi|
|00002ea0| 6e 69 6e 67 20 69 74 2e | 1f 0a 28 64 65 66 61 6c |ning it.|..(defal|
|00002eb0| 69 61 73 20 27 69 6e 76 | 65 72 73 65 2d 61 64 64 |ias 'inv|erse-add|
|00002ec0| 2d 67 6c 6f 62 61 6c 2d | 61 62 62 72 65 76 20 23 |-global-|abbrev #|
|00002ed0| 5b 28 61 72 67 29 20 22 | c0 09 c2 0b 23 87 22 20 |[(arg) "|....#." |
|00002ee0| 5b 69 6e 76 65 72 73 65 | 2d 61 64 64 2d 61 62 62 |[inverse|-add-abb|
|00002ef0| 72 65 76 20 67 6c 6f 62 | 61 6c 2d 61 62 62 72 65 |rev glob|al-abbre|
|00002f00| 76 2d 74 61 62 6c 65 20 | 22 47 6c 6f 62 61 6c 22 |v-table |"Global"|
|00002f10| 20 61 72 67 5d 20 34 20 | 28 23 24 20 2e 20 31 31 | arg] 4 |(#$ . 11|
|00002f20| 37 31 37 29 20 22 70 22 | 5d 29 0a 28 64 65 66 61 |717) "p"|]).(defa|
|00002f30| 6c 69 61 73 20 27 69 6e | 76 65 72 73 65 2d 61 64 |lias 'in|verse-ad|
|00002f40| 64 2d 61 62 62 72 65 76 | 20 23 5b 28 74 61 62 6c |d-abbrev| #[(tabl|
|00002f50| 65 20 74 79 70 65 20 61 | 72 67 29 20 22 c0 89 89 |e type a|rg) "...|
|00002f60| 19 1a 1b 8a 0c 5b 76 88 | 60 c5 76 88 60 89 12 7b |.....[v.|`.v.`..{|
|00002f70| 13 29 c6 c7 0b 47 c0 0b | 24 88 c8 c9 ca 0e 0b 0b |.)...G..|$.......|
|00002f80| 23 21 11 cc 0b 0e 0d 5c | 22 ab 8d ce c9 cf 0b cc |#!.....\|".......|
|00002f90| 0b 0e 0d 5c 22 23 21 ad | 8f d0 0e 0d 0b 97 09 23 |...\"#!.|.......#|
|00002fa0| 88 8a 5c 6e 62 88 d1 20 | 29 2b 87 22 20 5b 6e 69 |..\nb.. |)+." [ni|
|00002fb0| 6c 20 65 78 70 20 6e 61 | 6d 65 6c 6f 63 20 6e 61 |l exp na|meloc na|
|00002fc0| 6d 65 20 61 72 67 20 31 | 20 73 65 74 2d 74 65 78 |me arg 1| set-tex|
|00002fd0| 74 2d 70 72 6f 70 65 72 | 74 69 65 73 20 30 20 72 |t-proper|ties 0 r|
|00002fe0| 65 61 64 2d 73 74 72 69 | 6e 67 20 66 6f 72 6d 61 |ead-stri|ng forma|
|00002ff0| 74 20 22 25 73 20 65 78 | 70 61 6e 73 69 6f 6e 20 |t "%s ex|pansion |
|00003000| 66 6f 72 20 5c 22 25 73 | 5c 22 3a 20 22 20 74 79 |for \"%s|\": " ty|
|00003010| 70 65 20 61 62 62 72 65 | 76 2d 65 78 70 61 6e 73 |pe abbre|v-expans|
|00003020| 69 6f 6e 20 74 61 62 6c | 65 20 79 2d 6f 72 2d 6e |ion tabl|e y-or-n|
|00003030| 2d 70 20 22 25 73 20 65 | 78 70 61 6e 64 73 20 74 |-p "%s e|xpands t|
|00003040| 6f 20 5c 22 25 73 5c 22 | 3b 20 72 65 64 65 66 69 |o \"%s\"|; redefi|
|00003050| 6e 65 3f 20 22 20 64 65 | 66 69 6e 65 2d 61 62 62 |ne? " de|fine-abb|
|00003060| 72 65 76 20 65 78 70 61 | 6e 64 2d 61 62 62 72 65 |rev expa|nd-abbre|
|00003070| 76 5d 20 37 5d 29 0a 23 | 40 32 33 30 20 4d 61 72 |v] 7]).#|@230 Mar|
|00003080| 6b 20 63 75 72 72 65 6e | 74 20 70 6f 69 6e 74 20 |k curren|t point |
|00003090| 61 73 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |as the b|eginning|
|000030a0| 20 6f 66 20 61 6e 20 61 | 62 62 72 65 76 2e 0a 41 | of an a|bbrev..A|
|000030b0| 62 62 72 65 76 20 74 6f | 20 62 65 20 65 78 70 61 |bbrev to| be expa|
|000030c0| 6e 64 65 64 20 73 74 61 | 72 74 73 20 68 65 72 65 |nded sta|rts here|
|000030d0| 20 72 61 74 68 65 72 20 | 74 68 61 6e 20 61 74 20 | rather |than at |
|000030e0| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 77 6f 72 |beginnin|g of wor|
|000030f0| 64 2e 0a 54 68 69 73 20 | 77 61 79 2c 20 79 6f 75 |d..This |way, you|
|00003100| 20 63 61 6e 20 65 78 70 | 61 6e 64 20 61 6e 20 61 | can exp|and an a|
|00003110| 62 62 72 65 76 20 77 69 | 74 68 20 61 20 70 72 65 |bbrev wi|th a pre|
|00003120| 66 69 78 3a 20 69 6e 73 | 65 72 74 20 74 68 65 20 |fix: ins|ert the |
|00003130| 70 72 65 66 69 78 2c 0a | 75 73 65 20 74 68 69 73 |prefix,.|use this|
|00003140| 20 63 6f 6d 6d 61 6e 64 | 2c 20 74 68 65 6e 20 69 | command|, then i|
|00003150| 6e 73 65 72 74 20 74 68 | 65 20 61 62 62 72 65 76 |nsert th|e abbrev|
|00003160| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 62 |...(defa|lias 'ab|
|00003170| 62 72 65 76 2d 70 72 65 | 66 69 78 2d 6d 61 72 6b |brev-pre|fix-mark|
|00003180| 20 23 5b 28 26 6f 70 74 | 69 6f 6e 61 6c 20 61 72 | #[(&opt|ional ar|
|00003190| 67 29 20 22 08 ac 83 c1 | 20 88 c2 20 13 70 14 c5 |g) "....| .. .p..|
|000031a0| 60 60 5c 22 1e 06 c7 0e | 06 c8 c9 21 5c 22 29 87 |``\"....|...!\").|
|000031b0| 22 20 5b 61 72 67 20 65 | 78 70 61 6e 64 2d 61 62 |" [arg e|xpand-ab|
|000031c0| 62 72 65 76 20 70 6f 69 | 6e 74 2d 6d 61 72 6b 65 |brev poi|nt-marke|
|000031d0| 72 20 61 62 62 72 65 76 | 2d 73 74 61 72 74 2d 6c |r abbrev|-start-l|
|000031e0| 6f 63 61 74 69 6f 6e 20 | 61 62 62 72 65 76 2d 73 |ocation |abbrev-s|
|000031f0| 74 61 72 74 2d 6c 6f 63 | 61 74 69 6f 6e 2d 62 75 |tart-loc|ation-bu|
|00003200| 66 66 65 72 20 6d 61 6b | 65 2d 65 78 74 65 6e 74 |ffer mak|e-extent|
|00003210| 20 65 20 73 65 74 2d 65 | 78 74 65 6e 74 2d 62 65 | e set-e|xtent-be|
|00003220| 67 69 6e 2d 67 6c 79 70 | 68 20 6d 61 6b 65 2d 67 |gin-glyp|h make-g|
|00003230| 6c 79 70 68 20 5b 73 74 | 72 69 6e 67 20 3a 64 61 |lyph [st|ring :da|
|00003240| 74 61 20 22 2d 22 5d 5d | 20 34 20 28 23 24 20 2e |ta "-"]]| 4 (#$ .|
|00003250| 20 31 32 34 31 33 29 20 | 22 50 22 5d 29 0a 23 40 | 12413) |"P"]).#@|
|00003260| 32 34 33 20 46 6f 72 20 | 61 62 62 72 65 76 20 6f |243 For |abbrev o|
|00003270| 63 63 75 72 72 65 6e 63 | 65 20 69 6e 20 74 68 65 |ccurrenc|e in the|
|00003280| 20 72 65 67 69 6f 6e 2c | 20 6f 66 66 65 72 20 74 | region,| offer t|
|00003290| 6f 20 65 78 70 61 6e 64 | 20 69 74 2e 0a 54 68 65 |o expand| it..The|
|000032a0| 20 75 73 65 72 20 69 73 | 20 61 73 6b 65 64 20 74 | user is| asked t|
|000032b0| 6f 20 74 79 70 65 20 79 | 20 6f 72 20 6e 20 66 6f |o type y| or n fo|
|000032c0| 72 20 65 61 63 68 20 6f | 63 63 75 72 72 65 6e 63 |r each o|ccurrenc|
|000032d0| 65 2e 0a 41 20 70 72 65 | 66 69 78 20 61 72 67 75 |e..A pre|fix argu|
|000032e0| 6d 65 6e 74 20 6d 65 61 | 6e 73 20 64 6f 6e 27 74 |ment mea|ns don't|
|000032f0| 20 71 75 65 72 79 3b 20 | 65 78 70 61 6e 64 20 61 | query; |expand a|
|00003300| 6c 6c 20 61 62 62 72 65 | 76 73 2e 0a 49 66 20 63 |ll abbre|vs..If c|
|00003310| 61 6c 6c 65 64 20 66 72 | 6f 6d 20 61 20 4c 69 73 |alled fr|om a Lis|
|00003320| 70 20 70 72 6f 67 72 61 | 6d 2c 20 61 72 67 75 6d |p progra|m, argum|
|00003330| 65 6e 74 73 20 61 72 65 | 20 53 54 41 52 54 20 45 |ents are| START E|
|00003340| 4e 44 20 26 6f 70 74 69 | 6f 6e 61 6c 20 4e 4f 51 |ND &opti|onal NOQ|
|00003350| 55 45 52 59 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |UERY...(|defalias|
|00003360| 20 27 65 78 70 61 6e 64 | 2d 72 65 67 69 6f 6e 2d | 'expand|-region-|
|00003370| 61 62 62 72 65 76 73 20 | 23 5b 28 73 74 61 72 74 |abbrevs |#[(start|
|00003380| 20 65 6e 64 20 26 6f 70 | 74 69 6f 6e 61 6c 20 6e | end &op|tional n|
|00003390| 6f 71 75 65 72 79 29 20 | 22 8a 08 62 88 64 09 5a |oquery) |"..b.d.Z|
|000033a0| c2 89 1b 1c 1d 6d 3f ad | ab c6 76 88 60 89 14 64 |.....m?.|..v.`..d|
|000033b0| 0d 5a 58 ad 9f c7 8a c8 | 76 88 60 29 0c 7b 89 13 |.ZX.....|v.`).{..|
|000033c0| 21 ab 62 0e 09 ac 88 ca | cb cc 0b 5c 22 21 ab 56 |!.b.....|...\"!.V|
|000033d0| cd 20 88 aa 51 2c 87 22 | 20 5b 73 74 61 72 74 20 |. ..Q,."| [start |
|000033e0| 65 6e 64 20 6e 69 6c 20 | 73 74 72 69 6e 67 20 70 |end nil |string p|
|000033f0| 6e 74 20 6c 69 6d 20 31 | 20 61 62 62 72 65 76 2d |nt lim 1| abbrev-|
|00003400| 65 78 70 61 6e 73 69 6f | 6e 20 2d 31 20 6e 6f 71 |expansio|n -1 noq|
|00003410| 75 65 72 79 20 79 2d 6f | 72 2d 6e 2d 70 20 66 6f |uery y-o|r-n-p fo|
|00003420| 72 6d 61 74 20 22 45 78 | 70 61 6e 64 20 60 25 73 |rmat "Ex|pand `%s|
|00003430| 27 3f 20 22 20 65 78 70 | 61 6e 64 2d 61 62 62 72 |'? " exp|and-abbr|
|00003440| 65 76 5d 20 34 20 28 23 | 24 20 2e 20 31 32 39 30 |ev] 4 (#|$ . 1290|
|00003450| 30 29 20 22 72 5c 6e 50 | 22 5d 29 0a |0) "r\nP|"]). |
+--------+-------------------------+-------------------------+--------+--------+